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-bofh | |
parent | 62b0e06bbad2d51be5f4205c55c6e932f3e5bad2 (diff) |
Notes
Diffstat (limited to 'misc/fortune-mod-bofh')
-rw-r--r-- | misc/fortune-mod-bofh/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/misc/fortune-mod-bofh/Makefile b/misc/fortune-mod-bofh/Makefile index 9936a9786ac4..c3100d6f20f0 100644 --- a/misc/fortune-mod-bofh/Makefile +++ b/misc/fortune-mod-bofh/Makefile @@ -13,17 +13,24 @@ DISTFILES= bofh-fortune-mod${PORTVERSION}${EXTRACT_SUFX}:original,freebsd MAINTAINER= onatan@gmail.com COMMENT= Compilation of excuses from the "Bastard Operator From Hell" -NO_BUILD= yes WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0 PKGMESSAGE= ${WRKDIR}/pkg-message 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 + +do-build: + @${STRFILE} ${WRKSRC}/bofh do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - @${INSTALL_DATA} ${WRKSRC}/bofh ${STAGEDIR}${PREFIX}/share/games/fortune - @${STRFILE} ${STAGEDIR}${PREFIX}/share/games/fortune/bofh + ${INSTALL_DATA} ${WRKSRC}/bofh* ${STAGEDIR}${PREFIX}/share/games/fortune .include <bsd.port.mk> |