aboutsummaryrefslogtreecommitdiff
path: root/games/linux-candycruncher-demo
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-01-17 18:09:49 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-01-17 18:09:49 +0000
commit5421b82e0c67876529de7045d54d1568f3c5b19b (patch)
tree2b65a485569e3865758b6c652b2cab9902a09e2a /games/linux-candycruncher-demo
parent87e0a5dabe45374ac5b1fcc67c1757edeed7dbeb (diff)
downloadports-5421b82e0c67876529de7045d54d1568f3c5b19b.tar.gz
ports-5421b82e0c67876529de7045d54d1568f3c5b19b.zip
- Enable stagedir support
Notes
Notes: svn path=/head/; revision=340092
Diffstat (limited to 'games/linux-candycruncher-demo')
-rw-r--r--games/linux-candycruncher-demo/Makefile24
-rw-r--r--games/linux-candycruncher-demo/pkg-descr2
2 files changed, 11 insertions, 15 deletions
diff --git a/games/linux-candycruncher-demo/Makefile b/games/linux-candycruncher-demo/Makefile
index 040e2ac25b70..c2a937ccd80b 100644
--- a/games/linux-candycruncher-demo/Makefile
+++ b/games/linux-candycruncher-demo/Makefile
@@ -24,9 +24,6 @@ PORTDOCS= README README.licenses README.unixthanks license.txt
LIBFILES= libcrypto.so.0.9.8 libgrapple-0.9.so.2 liblua.so liblualib.so \
libssl.so.0.9.8
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-extract:
@${MKDIR} ${WRKSRC}
@cd ${WRKSRC} && ${TAIL} +377 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
@@ -36,17 +33,16 @@ do-build:
${BRANDELF} -t Linux ${WRKSRC}/bin/Linux/x86/Bin/candycruncher_demo
do-install:
- @${MKDIR} ${DATADIR}/Bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}/Bin
@cd ${WRKSRC}/bin/Linux/x86/Bin && \
- ${INSTALL_PROGRAM} candycruncher_demo ${DATADIR}/Bin
- @${INSTALL_PROGRAM} ${WRKDIR}/candycruncher ${PREFIX}/bin/${PKGNAMEPREFIX}candycruncher
- @${CP} -R ${WRKSRC}/Resources ${DATADIR}
- @${MKDIR} ${DATADIR}/lib/lib1
+ ${INSTALL_PROGRAM} candycruncher_demo ${STAGEDIR}${DATADIR}/Bin
+ @${INSTALL_PROGRAM} ${WRKDIR}/candycruncher \
+ ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}candycruncher
+ @${CP} -R ${WRKSRC}/Resources ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/lib/lib1
@cd ${WRKSRC}/lib/lib1/ && \
- ${CP} ${LIBFILES} ${DATADIR}/lib/lib1
-.if !defined (NOPORTDOCS)
- @${INSTALL} -d ${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${CP} ${LIBFILES} ${STAGEDIR}${DATADIR}/lib/lib1
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/linux-candycruncher-demo/pkg-descr b/games/linux-candycruncher-demo/pkg-descr
index f7e784f24fa9..8ef6f0b582e6 100644
--- a/games/linux-candycruncher-demo/pkg-descr
+++ b/games/linux-candycruncher-demo/pkg-descr
@@ -2,4 +2,4 @@ Candy Cruncher is a fast puzzle game with a lot of candy inside. Move candies
around the board to complete rows and columns, so they crunch away and do
not exceed the time limit!
-WWW: http://www.linuxgamepublishing.com/info.php?id=10
+WWW: http://www.linuxgamepublishing.com/info.php?id=10