aboutsummaryrefslogtreecommitdiff
path: root/misc/fortune-mod-bofh/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-19 15:04:32 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-19 15:04:32 +0000
commit289cceb8aa48069523f04eb377261fdb9bb3443a (patch)
treea60b636bd77b3b7a4ea37c08da183ba6cf825d91 /misc/fortune-mod-bofh/Makefile
parent2599040faba9daab4fec24e233eb30953bf83ef5 (diff)
downloadports-289cceb8aa48069523f04eb377261fdb9bb3443a.tar.gz
ports-289cceb8aa48069523f04eb377261fdb9bb3443a.zip
Stagify.
Approved by: portmgr@
Notes
Notes: svn path=/head/; revision=358429
Diffstat (limited to 'misc/fortune-mod-bofh/Makefile')
-rw-r--r--misc/fortune-mod-bofh/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/misc/fortune-mod-bofh/Makefile b/misc/fortune-mod-bofh/Makefile
index 07e02254a955..9936a9786ac4 100644
--- a/misc/fortune-mod-bofh/Makefile
+++ b/misc/fortune-mod-bofh/Makefile
@@ -17,18 +17,13 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0
PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
STRFILE= /usr/games/strfile
-NO_STAGE= yes
-post-patch:
- @${CAT} pkg-message | ${SED} 's|PREFIX|${PREFIX}|' > ${PKGMESSAGE}
-
do-install:
- @${MKDIR} ${PREFIX}/share/games
- @${MKDIR} ${PREFIX}/share/games/fortune
- @${INSTALL_DATA} ${WRKSRC}/bofh ${PREFIX}/share/games/fortune
- @${STRFILE} ${PREFIX}/share/games/fortune/bofh
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/bofh ${STAGEDIR}${PREFIX}/share/games/fortune
+ @${STRFILE} ${STAGEDIR}${PREFIX}/share/games/fortune/bofh
.include <bsd.port.mk>