aboutsummaryrefslogtreecommitdiff
path: root/misc/fortune-mod-bofh
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-02 14:22:43 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-02 14:22:43 +0000
commit02213f215fcfad0d521f36fcc9c9cd4c9287e7af (patch)
treeca87dffe33f3a92b3bedfbff39687891ba6fdde6 /misc/fortune-mod-bofh
parentd4bc64106bba707385a50bd7f4c74ea2b9659436 (diff)
downloadports-02213f215fcfad0d521f36fcc9c9cd4c9287e7af.tar.gz
ports-02213f215fcfad0d521f36fcc9c9cd4c9287e7af.zip
Notes
Diffstat (limited to 'misc/fortune-mod-bofh')
-rw-r--r--misc/fortune-mod-bofh/Makefile5
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>