aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-10 10:37:05 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-10 10:37:05 +0800
commit88fad4abe75c0e6997bab7d6681b1013c338f61d (patch)
tree2c4d0df672b3d989bbb3e986f3d9e57a63d3b143
parentd08c9d151321e3797a8caba1493b8fce82a7445e (diff)
downloadfreebsd-ports-gnome-88fad4abe75c0e6997bab7d6681b1013c338f61d.tar.gz
freebsd-ports-gnome-88fad4abe75c0e6997bab7d6681b1013c338f61d.tar.zst
freebsd-ports-gnome-88fad4abe75c0e6997bab7d6681b1013c338f61d.zip
Stagify.
-rw-r--r--games/scourge-data/Makefile7
-rw-r--r--games/scourge/Makefile13
-rw-r--r--games/scourge/pkg-descr2
3 files changed, 6 insertions, 16 deletions
diff --git a/games/scourge-data/Makefile b/games/scourge-data/Makefile
index 59e4c48cba90..a86fe96a96fc 100644
--- a/games/scourge-data/Makefile
+++ b/games/scourge-data/Makefile
@@ -18,7 +18,6 @@ DATADIR= share/${PKGNAMEPREFIX:S/-//}
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX:S/-/_/}${PORTNAME}
-NO_STAGE= yes
pre-install:
@${RM} -f ${PLIST}
@cd ${WRKSRC} && \
@@ -28,9 +27,9 @@ pre-install:
do-install:
@cd ${WRKSRC} && \
- ${MKDIR} ${PREFIX}/${DATADIR} && \
- ${CP} -R * ${PREFIX}/${DATADIR}
- @cd ${PREFIX}/${DATADIR} && \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR} && \
+ ${CP} -R * ${STAGEDIR}${PREFIX}/${DATADIR}
+ @cd ${STAGEDIR}${PREFIX}/${DATADIR} && \
${FIND} * -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
.include <bsd.port.mk>
diff --git a/games/scourge/Makefile b/games/scourge/Makefile
index 4ae89fb946ee..8ff54a464101 100644
--- a/games/scourge/Makefile
+++ b/games/scourge/Makefile
@@ -30,13 +30,7 @@ PLIST_FILES= bin/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DEBUG
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+= --enable-debug
-.endif
+DEBUG_CONFIGURE_ENABLE= debug
post-patch:
@${REINPLACE_CMD} -e 's|GLvoid|void|g' ${WRKSRC}/src/sdlhandler.cpp ${WRKSRC}/src/sdlhandler.h
@@ -45,9 +39,6 @@ pre-configure:
@cd ${WRKSRC} && ${AUTORECONF} -i
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/games/scourge/pkg-descr b/games/scourge/pkg-descr
index baf51a5acaf2..304dd1e1dd96 100644
--- a/games/scourge/pkg-descr
+++ b/games/scourge/pkg-descr
@@ -5,4 +5,4 @@ from old to new: It lets you rotate the view, zoom in/out, view
special effects, etc. On the other hand I've always liked the
old-school isometric games like Exult or Woodward.
-WWW: http://scourge.sourceforge.net/
+WWW: http://scourge.sourceforge.net/