aboutsummaryrefslogtreecommitdiff
path: root/misc/fortune-mod-futurama
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 /misc/fortune-mod-futurama
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 'misc/fortune-mod-futurama')
-rw-r--r--misc/fortune-mod-futurama/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/misc/fortune-mod-futurama/Makefile b/misc/fortune-mod-futurama/Makefile
index 7fc515e49acf..ef26cfd4d026 100644
--- a/misc/fortune-mod-futurama/Makefile
+++ b/misc/fortune-mod-futurama/Makefile
@@ -11,20 +11,24 @@ MASTER_SITES= http://www.netmeister.org/apps/ \
MAINTAINER= freebsd@skysmurf.nl
COMMENT= Compilation of quotes from the TV series "Futurama"
-BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
-
USES= tar:bzip2
SUB_FILES= pkg-message
-STRFILE= ${LOCALBASE}/bin/fortune_strfile
PLIST_FILES= share/games/fortune/futurama share/games/fortune/futurama.dat
+.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}/futurama
+ @${STRFILE} ${WRKSRC}/futurama
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
- ${INSTALL_DATA} ${WRKSRC}/futurama* \
- ${STAGEDIR}${PREFIX}/share/games/fortune
+ ${INSTALL_DATA} ${WRKSRC}/futurama* ${STAGEDIR}${PREFIX}/share/games/fortune
.include <bsd.port.mk>