aboutsummaryrefslogtreecommitdiffstats
path: root/misc/fortune-mod-bofh
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-02 22:22:43 +0800
committermnag <mnag@FreeBSD.org>2005-10-02 22:22:43 +0800
commit1a9ed87569cf3514f1aaee10db37c4133061e919 (patch)
treeab1a7433a167b85f5dfcca0e175231d76d7f7b56 /misc/fortune-mod-bofh
parentc65d61ecba0ff0958c5d56f3183ef46512850c97 (diff)
downloadfreebsd-ports-gnome-1a9ed87569cf3514f1aaee10db37c4133061e919.tar.gz
freebsd-ports-gnome-1a9ed87569cf3514f1aaee10db37c4133061e919.tar.zst
freebsd-ports-gnome-1a9ed87569cf3514f1aaee10db37c4133061e919.zip
Fix wrong dat file installed by fortune-mod-bofh
PR: 86643 Pointed by: arundel@h3c.de Submitted by: afarsec@012.net.il (maintainer) Approved by: pav (mentor)
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>