aboutsummaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-14 05:34:01 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-14 05:34:01 +0000
commitfc96875fc51ba3d3cabceef8fb617356331782bb (patch)
tree43cb571236681910ba19bc905decf8b034eceaff /russian
parenta010fa4d7bc0a39b9d89d7c7adbee3e3a2112d35 (diff)
downloadports-fc96875fc51ba3d3cabceef8fb617356331782bb.tar.gz
ports-fc96875fc51ba3d3cabceef8fb617356331782bb.zip
Notes
Diffstat (limited to 'russian')
-rw-r--r--russian/fortuneru/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/russian/fortuneru/Makefile b/russian/fortuneru/Makefile
index 57457295217c..76e656391ff1 100644
--- a/russian/fortuneru/Makefile
+++ b/russian/fortuneru/Makefile
@@ -5,29 +5,27 @@ 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
-PKGMESSAGE= ${WRKDIR}/pkg-message
+BROKEN= unfetchable
-.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
+BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
+STRCMD= ${LOCALBASE}/bin/fortune_strfile
+PKGMESSAGE= ${WRKDIR}/pkg-message
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>