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)
This commit is contained in:
parent
d4bc64106b
commit
02213f215f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143980
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user