aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-07 00:44:20 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-07 00:44:20 +0800
commit55c2bfd613c39e1e365ff38e47281f677b3aace0 (patch)
treef2c16cec281bd7b12d4b8ffd1bef1fe833c0cb02
parent356f4a97eca0730e8956e5574e89e6a1d09402f8 (diff)
downloadfreebsd-ports-gnome-55c2bfd613c39e1e365ff38e47281f677b3aace0.tar.gz
freebsd-ports-gnome-55c2bfd613c39e1e365ff38e47281f677b3aace0.tar.zst
freebsd-ports-gnome-55c2bfd613c39e1e365ff38e47281f677b3aace0.zip
Stagify.
-rw-r--r--games/linux-etqw-demo-server/Makefile27
1 files changed, 11 insertions, 16 deletions
diff --git a/games/linux-etqw-demo-server/Makefile b/games/linux-etqw-demo-server/Makefile
index a3c1a20f7351..3f29b89baed9 100644
--- a/games/linux-etqw-demo-server/Makefile
+++ b/games/linux-etqw-demo-server/Makefile
@@ -23,9 +23,6 @@ USES= zip:infozip
ETQWDIR= ${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX}
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-extract:
@${MKDIR} ${WRKSRC}
@cd ${WRKSRC} && \
@@ -37,29 +34,27 @@ post-patch:
@${SED} -e 's|@ETQWDIR@|${ETQWDIR}|' ${FILESDIR}/etqwded-demo.in > ${WRKSRC}/etqwded-demo
do-install:
- @${MKDIR} ${ETQWDIR}
+ @${MKDIR} ${STAGEDIR}${ETQWDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/etqwded-demo ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/data/etqwded.x86 ${ETQWDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/etqwded-demo ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/data/etqwded.x86 ${STAGEDIR}${ETQWDIR}
@cd ${WRKSRC}/data && \
${FIND} -E . -type f -iregex ".*\.so\.[0-9]+" \
- -exec ${INSTALL_DATA} "{}" "${ETQWDIR}/{}" \;
+ -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
- @${MKDIR} ${ETQWDIR}/base/bots
+ @${MKDIR} ${STAGEDIR}${ETQWDIR}/base/bots
@cd ${WRKSRC}/data && \
${FIND} base -type f \
- -exec ${INSTALL_DATA} "{}" "${ETQWDIR}/{}" \;
+ -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
- @${MKDIR} ${ETQWDIR}/pb/htm
+ @${MKDIR} ${STAGEDIR}${ETQWDIR}/pb/htm
@cd ${WRKSRC}/data && \
${FIND} pb -type f \
- -exec ${INSTALL_DATA} "{}" "${ETQWDIR}/{}" \;
+ -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
-.if !defined (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in EULA.txt README.txt copyrights.txt etqwtv.txt pb/PBEULA.txt
- @${INSTALL_DATA} ${WRKSRC}/data/${FILE} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/data/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>