aboutsummaryrefslogtreecommitdiff
path: root/misc/fortuneit
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/fortuneit
parent08c3ba3e1a632e1a7d6e70e57d13147a06434bf6 (diff)
downloadports-cc9b2efba46f34f81fcc465a84b1fe9dd27eff61.tar.gz
ports-cc9b2efba46f34f81fcc465a84b1fe9dd27eff61.zip
Notes
Diffstat (limited to 'misc/fortuneit')
-rw-r--r--misc/fortuneit/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/misc/fortuneit/Makefile b/misc/fortuneit/Makefile
index a12b8c8c3d69..4e6ee5c3dff8 100644
--- a/misc/fortuneit/Makefile
+++ b/misc/fortuneit/Makefile
@@ -10,8 +10,13 @@ DISTNAME= fortune-it-${PORTVERSION}
MAINTAINER= gmarco@gufi.org
COMMENT= Funny fortune file in Italian
-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
FORTUNEFILES= adams banner computer definizioni formiche italia itatrek \
jackfr leggi luke luttazzi norm paolotedeschi zuse \