diff options
author | mnag <mnag@FreeBSD.org> | 2005-10-02 22:22:43 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-10-02 22:22:43 +0800 |
commit | 1a9ed87569cf3514f1aaee10db37c4133061e919 (patch) | |
tree | ab1a7433a167b85f5dfcca0e175231d76d7f7b56 /misc/fortune-mod-bofh | |
parent | c65d61ecba0ff0958c5d56f3183ef46512850c97 (diff) | |
download | freebsd-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/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> |