diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-07-02 17:25:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-07-02 17:25:15 +0200 |
commit | 595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch) | |
tree | a284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/tqtinterface/Makefile | |
parent | bb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff) | |
download | tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip |
FreeBSD: Initial import
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/tqtinterface/Makefile')
-rw-r--r-- | freebsd/dependencies/tqtinterface/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/freebsd/dependencies/tqtinterface/Makefile b/freebsd/dependencies/tqtinterface/Makefile new file mode 100644 index 000000000..4616efe8a --- /dev/null +++ b/freebsd/dependencies/tqtinterface/Makefile @@ -0,0 +1,52 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# + +.include <../../trinity.port.mk> + +PORTNAME= libtqtinterface +COMMENT= Trinity TQt Interface +TDE_PREVERSION= ~pre3+6056e4a5 +MASTER_SITE_SUBDIR= libt/${PORTNAME} +DISTSRC= tqtinterface-trinity-${TDE_VERSION}${TDE_PREVERSION} +PORTREVISION= 0 +CATEGORIES= devel +DIST_SUBDIR= TDE/dependencies +PREFIX= ${LOCALBASE} + + +BUILD_DEPENDS+= tqmoc:${PORTSDIR}/x11/trinity/dependencies/tqt3 + +RUN_DEPENDS+= gsed:${PORTSDIR}/textproc/gsed \ + bash:${PORTSDIR}/shells/bash \ + +LIB_DEPENDS+= libtqt-mt.so:${PORTSDIR}/x11/trinity/dependencies/tqt3 + +# Build +post-patch: tde-pathfix + +do-configure: tde-cmake-prepare + ${TDE_CMAKE_CONFIGURE} \ + -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ + -DPKGCONFIG_INSTALL_DIR="${PREFIX}/libdata/pkgconfig" \ + \ + -DWITH_QT3="ON" \ + -DQTDIR="${LOCALBASE}/share/qt3" \ + -DQT_PREFIX_DIR="${LOCALBASE}" \ + -DQT_LIBRARY_DIRS="${LOCALBASE}/lib" \ + -DQT_INCLUDE_DIR="${LOCALBASE}/include/tqt3" \ + -DBUILD_ALL="ON" \ + -DUSE_QT3="ON" + +do-build: tde-cmake-build + +do-install: tde-cmake-install + +post-install: + # Fix path to 'bash' + gsed -i ${STAGEDIR}${PREFIX}/bin/* \ + -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \ + -e "s|sed |gsed |g" + +.include <bsd.port.mk> |