aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2013-07-21 13:03:48 +0000
committerJohn Marino <marino@FreeBSD.org>2013-07-21 13:03:48 +0000
commit6bbf591b64bc74ba9ced80bbc6cc6092b9be01de (patch)
treedc0e7fd0df581046c1f806bb66384a162b8320d3
parent7e7f71ea2758ccc33b8f62a51ff840e8d914e664 (diff)
downloadports-6bbf591b64bc74ba9ced80bbc6cc6092b9be01de.tar.gz
ports-6bbf591b64bc74ba9ced80bbc6cc6092b9be01de.zip
Notes
-rw-r--r--devel/gps/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/gps/Makefile b/devel/gps/Makefile
index de94d6b89aa3..8d1cd4c99953 100644
--- a/devel/gps/Makefile
+++ b/devel/gps/Makefile
@@ -29,7 +29,8 @@ WRKSRC= ${WRKDIR}/gps-release-ide-${PORTVERSION}-src
CONFIGURE_ENV+= AWK=/usr/bin/awk
DESTINY= ${WRKDIR}/destino
-MAKE_ENV+= DESTDIR=${DESTINY}
+MAKE_ENV+= DESTDIR=${DESTINY} \
+ PROCESSORS=${MAKE_JOBS_NUMBER}
OPTIONS_DEFINE= SYSLOG SQLITE PGSQL PYTHON READLINE
OPTIONS_DEFAULT= SYSLOG SQLITE PYTHON READLINE
@@ -101,6 +102,9 @@ post-patch:
@${REINPLACE_CMD} -e "s|@PREFIX@|${PREFIX}|g" \
${WRKSRC}/gnatlib/src/gnatcoll_readline.gpr.in
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} default
+
pre-install:
.if ${PORT_OPTIONS:MPYTHON}
${PYTHON_CMD} ${PYCOMPILE} ${WRKSRC}/share/plug-ins
@@ -110,7 +114,7 @@ pre-install:
post-install:
${RM} -rf ${DESTINY}${PREFIX}/share/doc/gps/html/users_guide/_sources
${RM} -rf ${DESTINY}${PREFIX}/share/doc/gps/html/tutorial/_sources
- cd ${DESTINY}${PREFIX}; ${FIND} * -type d -empty -print | xargs rmdir
+ cd ${DESTINY}${PREFIX}; ${FIND} * -type d -empty -print | ${XARGS} ${RMDIR}
${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/
@cd ${DESTINY}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
${SORT} > ${WRKDIR}/PLIST.all