aboutsummaryrefslogtreecommitdiff
path: root/misc/qt4-qtdemo
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-10-13 23:15:50 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-10-13 23:15:50 +0000
commitecda38b0a51979110b18b1bcd5f03f5b6a55e13a (patch)
tree6e4bc973485641dceb988b7456b64a08077dafe0 /misc/qt4-qtdemo
parent28bc26a55d939847edf4effb4c33cf5f20d879f0 (diff)
downloadports-ecda38b0a51979110b18b1bcd5f03f5b6a55e13a.tar.gz
ports-ecda38b0a51979110b18b1bcd5f03f5b6a55e13a.zip
Notes
Diffstat (limited to 'misc/qt4-qtdemo')
-rw-r--r--misc/qt4-qtdemo/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/qt4-qtdemo/Makefile b/misc/qt4-qtdemo/Makefile
index 4b1776a43d28..d01306741f05 100644
--- a/misc/qt4-qtdemo/Makefile
+++ b/misc/qt4-qtdemo/Makefile
@@ -9,6 +9,7 @@ PKGNAMEPREFIX= qt4-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt demonstration and example programs
+USES= pkgconfig
USE_QT4= qmake_build moc_build rcc_build uic_build corelib designer \
gui network opengl sql svg qtestlib xml imageformats_run dbus \
script webkit phonon help assistant_run phonon-gst scripttools \
@@ -40,9 +41,8 @@ EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
BUILD_WRKSRC= ${WRKSRC}/demos
INSTALL_WRKSRC= ${BUILD_WRKSRC}
-EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure
+EXTRA_PATCHES+= ${.CURDIR}/../../devel/qt4/files/patch-configure
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e '/app +=/s|"assistant"|"assistant-qt4"|' \
${BUILD_WRKSRC}/${PORTNAME}/menumanager.cpp \
@@ -57,10 +57,10 @@ pre-configure:
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc
post-build:
- cd ${WRKSRC}/examples && ${SETENV} MAKEOBJDIR=. ${MAKE}
+ cd ${WRKSRC}/examples && ${SETENV} MAKEOBJDIR=. ${MAKE} ${_MAKE_JOBS}
post-install:
- cd ${WRKSRC}/examples && ${SETENV} MAKEOBJDIR=. ${MAKE} install
- ${FIND} -E ${PREFIX}/share/examples/qt4/examples/declarative/cppextensions -regex ".*\.(moc|obj|pch|rcc)" -type d | ${XARGS} ${RM} -r
+ cd ${WRKSRC}/examples && ${SETENV} MAKEOBJDIR=. ${MAKE} ${MAKE_ARGS} install
+ ${FIND} -E ${STAGEDIR}${PREFIX}/share/examples/qt4/examples/declarative/cppextensions -regex ".*\.(moc|obj|pch|rcc)" -type d | ${XARGS} ${RM} -r
.include <bsd.port.mk>