diff options
Diffstat (limited to 'misc/fortune-mod-bofh')
-rw-r--r-- | misc/fortune-mod-bofh/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/fortune-mod-bofh/Makefile b/misc/fortune-mod-bofh/Makefile index 5541ca6e7f61..9f53a3437f11 100644 --- a/misc/fortune-mod-bofh/Makefile +++ b/misc/fortune-mod-bofh/Makefile @@ -7,6 +7,7 @@ PORTNAME= fortune-mod-bofh PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://www.void.irq.org/ DISTNAME= bofh-fortune-mod${PORTVERSION} @@ -18,6 +19,8 @@ NO_BUILD= yes PKGMESSAGE= ${WRKDIR}/pkg-message +STRFILE= /usr/games/strfile + post-patch: @${CAT} pkg-message | ${SED} 's|PREFIX|${PREFIX}|' > ${PKGMESSAGE} @@ -25,7 +28,7 @@ do-install: @${MKDIR} ${PREFIX}/share/games @${MKDIR} ${PREFIX}/share/games/fortune @${INSTALL_DATA} ${WRKSRC}/bofh ${PREFIX}/share/games/fortune - @${INSTALL_DATA} ${WRKSRC}/bofh.dat ${PREFIX}/share/games/fortune + @${STRFILE} ${PREFIX}/share/games/fortune/bofh @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |