aboutsummaryrefslogtreecommitdiff
path: root/misc/fortune-mod-futurama
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-02-15 13:33:25 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-02-15 13:33:25 +0000
commitaea62ac573548ea40795902c0b0d00891f16d950 (patch)
tree564efd14d553a1a2b020275d456e35f8605bd0de /misc/fortune-mod-futurama
parent62b0e06bbad2d51be5f4205c55c6e932f3e5bad2 (diff)
downloadports-aea62ac573548ea40795902c0b0d00891f16d950.tar.gz
ports-aea62ac573548ea40795902c0b0d00891f16d950.zip
Unbreak on head
Notes
Notes: svn path=/head/; revision=379034
Diffstat (limited to 'misc/fortune-mod-futurama')
-rw-r--r--misc/fortune-mod-futurama/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/misc/fortune-mod-futurama/Makefile b/misc/fortune-mod-futurama/Makefile
index 1c954e4a0556..ef26cfd4d026 100644
--- a/misc/fortune-mod-futurama/Makefile
+++ b/misc/fortune-mod-futurama/Makefile
@@ -11,13 +11,21 @@ MASTER_SITES= http://www.netmeister.org/apps/ \
MAINTAINER= freebsd@skysmurf.nl
COMMENT= Compilation of quotes from the TV series "Futurama"
-USES= tar:bzip2
+USES= tar:bzip2
SUB_FILES= pkg-message
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:
- @cd ${WRKSRC} && /usr/games/strfile futurama
+ @${STRFILE} ${WRKSRC}/futurama
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune