diff options
author | antoine <antoine@FreeBSD.org> | 2016-09-15 03:50:46 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2016-09-15 03:50:46 +0800 |
commit | e0831c933ca8bda64a7a5ed9b16f6302bb692d59 (patch) | |
tree | ec6270397becb70ebcaa5c6615c9cd29a5684b63 /russian | |
parent | 21c1782a9f81ba9c12ab39a2e136b9e6ff232d48 (diff) | |
download | freebsd-ports-gnome-e0831c933ca8bda64a7a5ed9b16f6302bb692d59.tar.gz freebsd-ports-gnome-e0831c933ca8bda64a7a5ed9b16f6302bb692d59.tar.zst freebsd-ports-gnome-e0831c933ca8bda64a7a5ed9b16f6302bb692d59.zip |
Revert recent strfile changes, strfile is already in base
With hat: portmgr
Diffstat (limited to 'russian')
-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> |