You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.9 KiB
69 lines
1.9 KiB
10 years ago
|
.include </usr/ports/x11/trinity/trinity.port.mk>
|
||
|
|
||
|
PKGNAME= trinity-tqtinterface-${VERSION}
|
||
10 years ago
|
VERSION= 4.2.0${PREVERSION}
|
||
10 years ago
|
PREVERSION=
|
||
10 years ago
|
|
||
10 years ago
|
COMMENT= Trinity QT intefarce
|
||
|
CATEGORIES= x11/trinity/dependencies
|
||
|
HOMEPAGE= http://www.trinitydesktop.org/
|
||
|
MAINTAINER= François Andriot <francois.andriot@free.fr>
|
||
10 years ago
|
|
||
10 years ago
|
MASTER_SITES= http://ppa2.quickbuild.pearsoncomputing.net/redirect.php?file=releases/R14.0.0/dependencies/
|
||
|
DISTNAME= tqtinterface-R${TDE_VERSION}${PREVERSION}
|
||
|
EXTRACT_SUFX= .tar.bz2
|
||
|
WRKDIST= ${WRKDIR}/dependencies/tqtinterface
|
||
10 years ago
|
|
||
10 years ago
|
PREFIX= ${LOCALBASE}
|
||
|
|
||
10 years ago
|
BUILD_DEPENDS= devel/gmake \
|
||
|
devel/cmake \
|
||
|
x11/trinity/dependencies/tqt3,-main
|
||
|
|
||
10 years ago
|
SHARED_LIBS= tqt 4.2
|
||
10 years ago
|
|
||
10 years ago
|
RUN_DEPENDS= textproc/gsed \
|
||
|
shells/bash \
|
||
|
x11/trinity/dependencies/tqt3,-main
|
||
|
LIB_DEPENDS= x11/trinity/dependencies/tqt3,-main
|
||
10 years ago
|
|
||
|
# Build
|
||
|
do-configure: tde-cmake-rmbuild
|
||
|
${TDE_CMAKE_CONFIGURE} \
|
||
|
-DQTDIR="${LOCALBASE}/share/tqt3" \
|
||
|
-DQT_INCLUDE_DIR="${LOCALBASE}/include/tqt3" \
|
||
|
-DQT_LIBRARY_DIR="${LOCALBASE}/lib" \
|
||
10 years ago
|
-DQT_LIBRARIES="tqt-mt" \
|
||
10 years ago
|
\
|
||
|
-DCMAKE_INSTALL_PREFIX="${LOCALBASE}" \
|
||
|
-DPKGCONFIG_INSTALL_DIR="${LOCALBASE}/lib/pkgconfig" \
|
||
|
-DINCLUDE_INSTALL_DIR="${LOCALBASE}/include/tqt" \
|
||
|
-DLIB_INSTALL_DIR="${LOCALBASE}/lib" \
|
||
|
-DBIN_INSTALL_DIR="${LOCALBASE}/bin" \
|
||
|
\
|
||
|
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib" \
|
||
|
-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
|
||
|
\
|
||
|
-DWITH_QT3="ON" \
|
||
|
-DBUILD_ALL="ON" \
|
||
|
-DUSE_QT3="ON" \
|
||
|
..
|
||
|
|
||
|
do-build: tde-cmake-build
|
||
|
|
||
|
do-install: tde-cmake-install
|
||
|
|
||
|
post-install:
|
||
|
# Install 'cmake' modules for development use
|
||
|
mkdir -p "${WRKINST}${LOCALBASE}/share/cmake/Modules"
|
||
|
for i in ${WRKDIST}/cmake/modules/*.cmake; do \
|
||
|
install -m 644 "$$i" "${WRKINST}${LOCALBASE}/share/cmake/Modules"; \
|
||
|
done
|
||
|
# Fix path to 'bash'
|
||
|
gsed -i ${WRKINST}/usr/local/bin/* \
|
||
|
-e "s|/bin/bash|/usr/local/bin/bash|" \
|
||
|
-e "s|sed |gsed |g"
|
||
|
|
||
|
|
||
|
.include <bsd.port.mk>
|