aboutsummaryrefslogtreecommitdiffstats
path: root/polish
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-02-15 21:33:25 +0800
committerantoine <antoine@FreeBSD.org>2015-02-15 21:33:25 +0800
commitd09ce0f63f676bc2b7008172c790e53fe600b6e8 (patch)
tree564efd14d553a1a2b020275d456e35f8605bd0de /polish
parent0df14646ed400a1c898723a8fec437c480f10775 (diff)
downloadfreebsd-ports-gnome-d09ce0f63f676bc2b7008172c790e53fe600b6e8.tar.gz
freebsd-ports-gnome-d09ce0f63f676bc2b7008172c790e53fe600b6e8.tar.zst
freebsd-ports-gnome-d09ce0f63f676bc2b7008172c790e53fe600b6e8.zip
Unbreak on head
Diffstat (limited to 'polish')
-rw-r--r--polish/fortunepl/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/polish/fortunepl/Makefile b/polish/fortunepl/Makefile
index 73f56dec8170..0798bd66c878 100644
--- a/polish/fortunepl/Makefile
+++ b/polish/fortunepl/Makefile
@@ -14,7 +14,13 @@ PATCHFILES= fortunes-pl_${PORTVERSION}.freebsd.pl \
MAINTAINER= ports@FreeBSD.org
COMMENT= Lot of funny Polish fortune files
+.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
WRKSRC= ${WRKDIR}/fortunes-pl-${PORTVERSION}.orig
FORTUNES= 7thguard advocacy apcoh argante bajki bok cnp cows \
@@ -28,11 +34,6 @@ FORTUNES= 7thguard advocacy apcoh argante bajki bok cnp cows \
teleturnieje testnaosobowosc wierszyki wieza-pilot zen \
znaki_zodiaku
-pre-everything::
-.if !exists(${STRCMD})
-IGNORE= need strfile command. Please install games distribution of base system
-.endif
-
do-patch:
${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.freebsd.pl ${WRKSRC}/freebsd.pl
${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.filozofia ${WRKSRC}/filozofia
@@ -51,10 +52,4 @@ do-install:
${STAGEDIR}${PREFIX}/share/games/fortune/pl
.endfor
-post-install:
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Usage:"
- @${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/pl/<category>"
- @${ECHO_MSG} ""
-
.include <bsd.port.mk>