diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-04-22 00:00:02 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-04-22 20:51:11 +0200 |
commit | 4975402d7f239a520dfcbd48e03dbab43e491d68 (patch) | |
tree | 1fa8069b82399fccffe1736bbc8af73d1f3a4d93 /freebsd/dependencies/tqtinterface/Makefile | |
parent | 718961e63499208eae72b6d4f56ae94004d41020 (diff) | |
download | tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.tar.gz tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.zip |
FreeBSD: Add ports updated for final release R14.1.0.
Add a script to synchronize ports to the FreeBSD ports structure.
Add meta-port 'tde-meta' to install all TDE ports.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/tqtinterface/Makefile')
-rw-r--r-- | freebsd/dependencies/tqtinterface/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/freebsd/dependencies/tqtinterface/Makefile b/freebsd/dependencies/tqtinterface/Makefile new file mode 100644 index 000000000..14d30c6ee --- /dev/null +++ b/freebsd/dependencies/tqtinterface/Makefile @@ -0,0 +1,51 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# +# TDE port map: dependencies/tqtinterface + +PORTSDIR?=/usr/ports +.include <${PORTSDIR}/Mk/bsd.trinity.mk> + +PORTNAME= libtqtinterface +COMMENT= Trinity TQt Interface +TDE_PREVERSION= +MASTER_SITE_SUBDIR= libt/${PORTNAME} +DISTSRC= tqtinterface-trinity-${TDE_VERSION}${TDE_PREVERSION} +PORTREVISION= 0 +CATEGORIES= x11-toolkits +DIST_SUBDIR= TDE/dependencies +PREFIX= ${LOCALBASE} + + +BUILD_DEPENDS+= tqmoc:x11-toolkits/tqt3 \ + ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \ + +RUN_DEPENDS+= gsed:textproc/gsed \ + bash:shells/bash \ + +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" \ + \ + -DQT_PREFIX_DIR="${LOCALBASE}" \ + -DTQT_INCLUDE_DIR="${LOCALBASE}/include/tqt3" + +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> |