diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-02-15 13:33:25 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-02-15 13:33:25 +0000 |
commit | aea62ac573548ea40795902c0b0d00891f16d950 (patch) | |
tree | 564efd14d553a1a2b020275d456e35f8605bd0de /polish/fortunepl | |
parent | print/foomatic-db-engine: Update version 4.0.11=>4.0.12 (diff) |
Unbreak on head
Notes
Notes:
svn path=/head/; revision=379034
Diffstat (limited to 'polish/fortunepl')
-rw-r--r-- | polish/fortunepl/Makefile | 17 |
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> |