aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-17 22:57:03 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-17 22:57:03 +0800
commit34719da55460bbd7190db66df6e755159630a86b (patch)
treeadeaf30f0b54e5aa47415d8dd5824018e5951f75
parentcf1f355f39021ba78bf392d233a38e3c955956a3 (diff)
downloadfreebsd-ports-gnome-34719da55460bbd7190db66df6e755159630a86b.tar.gz
freebsd-ports-gnome-34719da55460bbd7190db66df6e755159630a86b.tar.zst
freebsd-ports-gnome-34719da55460bbd7190db66df6e755159630a86b.zip
- Convert LIB_DEPENDS to new syntax
- Add stage support
-rw-r--r--games/lincity-ng/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile
index 706396f541a1..a1d37397a4e9 100644
--- a/games/lincity-ng/Makefile
+++ b/games/lincity-ng/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Improved rich city simulation game for X
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
-LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs
+LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs
USES= pkgconfig
USE_BZIP2= yes
@@ -26,14 +26,13 @@ CONFIGURE_ARGS= --with-libphysfs=${PREFIX} \
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's| -O| -I${LOCALBASE}/include&|g' \
${WRKSRC}/Jamrules
do-build:
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam -j${MAKE_JOBS_NUMBER})
do-install:
- @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${INSTALL_TARGET})
+ @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam -sprefix=${STAGEDIR}${PREFIX} ${INSTALL_TARGET})
.include <bsd.port.mk>