summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/tqscintilla/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/tqscintilla/Makefile')
-rw-r--r--freebsd/dependencies/tqscintilla/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/freebsd/dependencies/tqscintilla/Makefile b/freebsd/dependencies/tqscintilla/Makefile
new file mode 100644
index 000000000..8b80fbfb4
--- /dev/null
+++ b/freebsd/dependencies/tqscintilla/Makefile
@@ -0,0 +1,40 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: dependencies/tqscintilla
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= tqscintilla
+COMMENT= TQt source code editing component based on Scintilla
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= t/tqscintilla
+PORTREVISION= 0
+CATEGORIES= devel
+DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION}
+DIST_SUBDIR= TDE/dependencies
+PREFIX= ${LOCALBASE}
+
+BUILD_DEPENDS += \
+ ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \
+
+LIB_DEPENDS+= libtqt-mt.so:x11-toolkits/tqt3
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
+ -DPKGCONFIG_INSTALL_DIR="${PREFIX}/libdata/pkgconfig" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>