diff options
Diffstat (limited to 'russian/fortuneru/Makefile')
-rw-r--r-- | russian/fortuneru/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/russian/fortuneru/Makefile b/russian/fortuneru/Makefile index 76e656391ff1..57457295217c 100644 --- a/russian/fortuneru/Makefile +++ b/russian/fortuneru/Makefile @@ -5,27 +5,29 @@ PORTNAME= fortuneru PORTVERSION= 20090524 PORTREVISION= 1 CATEGORIES= russian -MASTER_SITES= ftp://bestia.kiev.ua/pub/files/ \ - ftp://hosting.cvu.kiev.ua/pub/files/ +MASTER_SITES= ftp://bestia.kiev.ua/pub/files/ ftp://hosting.cvu.kiev.ua/pub/files/ DISTNAME= fortune.ru-${PORTVERSION} MAINTAINER= obezpalko@gmail.com COMMENT= Fortunes in Russian -BROKEN= unfetchable - -BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile -STRCMD= ${LOCALBASE}/bin/fortune_strfile PKGMESSAGE= ${WRKDIR}/pkg-message +.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 + do-build: - for fortune in ${WRKSRC}/* ; do \ + @for fortune in ${WRKSRC}/* ; do \ ${STRCMD} $$fortune ; \ done do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune/rus - ${INSTALL_DATA} ${WRKSRC}/* \ - ${STAGEDIR}${PREFIX}/share/games/fortune/rus + ${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/games/fortune/rus .include <bsd.port.mk> |