diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-02-15 13:33:25 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-02-15 13:33:25 +0000 |
commit | aea62ac573548ea40795902c0b0d00891f16d950 (patch) | |
tree | 564efd14d553a1a2b020275d456e35f8605bd0de /misc/fortune-mod-bible | |
parent | 62b0e06bbad2d51be5f4205c55c6e932f3e5bad2 (diff) | |
download | ports-aea62ac573548ea40795902c0b0d00891f16d950.tar.gz ports-aea62ac573548ea40795902c0b0d00891f16d950.zip |
Notes
Diffstat (limited to 'misc/fortune-mod-bible')
-rw-r--r-- | misc/fortune-mod-bible/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/misc/fortune-mod-bible/Makefile b/misc/fortune-mod-bible/Makefile index 90fdc4d39b0c..570654e4f431 100644 --- a/misc/fortune-mod-bible/Makefile +++ b/misc/fortune-mod-bible/Makefile @@ -14,17 +14,25 @@ COMMENT= King James V Bible in fortune file format DIST_SUBDIR= ${PORTNAME} NO_WRKSUBDIR= yes PKGMESSAGE= ${WRKDIR}/pkg-message -USES= tar:bzip2 +USES= tar:bzip2 SUB_FILES+= pkg-message +.if exists(/usr/games/strfile) _STRFILE= /usr/games/strfile +.elif exists(/usr/bin/strfile) +_STRFILE= /usr/bin/strfile +.else +IGNORE= needs strfile command. Please install games distribution of base system +.endif + +post-extract: + ${RM} ${WRKSRC}/bible.dat do-build: @cd ${WRKSRC} && ${_STRFILE} -C bible do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/games @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - @${INSTALL_DATA} ${WRKSRC}/bible* ${STAGEDIR}${PREFIX}/share/games/fortune + ${INSTALL_DATA} ${WRKSRC}/bible* ${STAGEDIR}${PREFIX}/share/games/fortune .include <bsd.port.mk> |