aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-09-14 19:50:46 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-09-14 19:50:46 +0000
commitcc9b2efba46f34f81fcc465a84b1fe9dd27eff61 (patch)
treeec6270397becb70ebcaa5c6615c9cd29a5684b63 /french
parent08c3ba3e1a632e1a7d6e70e57d13147a06434bf6 (diff)
downloadports-cc9b2efba46f34f81fcc465a84b1fe9dd27eff61.tar.gz
ports-cc9b2efba46f34f81fcc465a84b1fe9dd27eff61.zip
Revert recent strfile changes, strfile is already in base
With hat: portmgr
Notes
Notes: svn path=/head/; revision=422160
Diffstat (limited to 'french')
-rw-r--r--french/fortune-mod-zarathoustra/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/french/fortune-mod-zarathoustra/Makefile b/french/fortune-mod-zarathoustra/Makefile
index 2d5d717cd2e8..2b7b231880d0 100644
--- a/french/fortune-mod-zarathoustra/Makefile
+++ b/french/fortune-mod-zarathoustra/Makefile
@@ -11,15 +11,19 @@ COMMENT= Compilation of quotes from Nietzsche's Thus spoke Zarathustra
SUB_FILES= pkg-message
-BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
-STRCMD= ${LOCALBASE}/bin/fortune_strfile
+.if exists(/usr/games/strfile)
+STRCMD= /usr/games/strfile
+.elif exists(/usr/bin/strfile)
+STRCMD= /usr/bin/strfile
+.else
+IGNORE= needs strfile command. Please install games distribution of base system
+.endif
do-build:
- (cd ${WRKSRC} && ${STRCMD} zarathoustra)
+ @cd ${WRKSRC} && ${STRCMD} zarathoustra
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
- ${INSTALL_DATA} ${WRKSRC}/zarathoustra* \
- ${STAGEDIR}${PREFIX}/share/games/fortune
+ ${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${STAGEDIR}${PREFIX}/share/games/fortune
.include <bsd.port.mk>