aboutsummaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-02-19 15:05:38 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-02-19 15:05:38 +0000
commit88d5e7fa4314ad891f3a2f15bcb3aad04f3ac424 (patch)
tree579f452badb2ff7d5cec1a8e0c1dd128f906cda8 /russian
parentead5e51e2d6acbc086ccac7b4dea53df58d80e10 (diff)
downloadports-88d5e7fa4314ad891f3a2f15bcb3aad04f3ac424.tar.gz
ports-88d5e7fa4314ad891f3a2f15bcb3aad04f3ac424.zip
Notes
Diffstat (limited to 'russian')
-rw-r--r--russian/fortuneru/Makefile17
-rw-r--r--russian/fortuneru/distinfo2
2 files changed, 7 insertions, 12 deletions
diff --git a/russian/fortuneru/Makefile b/russian/fortuneru/Makefile
index a4a48bf095db..3b9c7d9e7d7a 100644
--- a/russian/fortuneru/Makefile
+++ b/russian/fortuneru/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= fortuneru
-PORTVERSION= 0.3
+PORTVERSION= 0.4
CATEGORIES= russian
MASTER_SITES= ftp://de22.kiev.ua/pub/files/ \
ftp://hosting.cvu.kiev.ua/pub/files/ \
- ftp://viva-solutions.com.ua/pub/files/
+ ftp://viva-solutions.com/pub/files/
DISTNAME= fortune.ru-${PORTVERSION}
MAINTAINER= bestia@de22.kiev.ua
@@ -21,16 +21,11 @@ NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
STRCMD= /usr/games/strfile
-FORTUNES= 4hf beer-murphy enciklopedy fortune_rus \
- guberman marazm maxim_and_fedor murphy police \
- strug usenet verse windows_errors pavlenka fomenko speed-info
do-install:
@${SETENV} STRCMD=${STRCMD} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@${MKDIR} ${PREFIX}/share/games/fortune/rus
-.for fortune in ${FORTUNES}
- ${INSTALL_DATA} ${WRKSRC}/${fortune} ${PREFIX}/share/games/fortune/rus
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/share/games/fortune/rus
pre-install:
.if !exists(${STRCMD})
@@ -39,9 +34,9 @@ pre-install:
.endif
post-install:
-.for fortune in ${FORTUNES}
- ${STRCMD} ${PREFIX}/share/games/fortune/rus/${fortune} >/dev/null 2>/dev/null
-.endfor
+ @for fortune in ${PREFIX}/share/games/fortune/rus/* ; do \
+ ${STRCMD} $$fortune >/dev/null 2>/dev/null ; \
+ done
@${ECHO_MSG} ""
@${ECHO_MSG} "Usage:"
@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/rus"
diff --git a/russian/fortuneru/distinfo b/russian/fortuneru/distinfo
index 8f280490abc2..c98d42dd6db1 100644
--- a/russian/fortuneru/distinfo
+++ b/russian/fortuneru/distinfo
@@ -1 +1 @@
-MD5 (fortune.ru-0.3.tar.gz) = 11cd4b517e15254979934b2099a62c22
+MD5 (fortune.ru-0.4.tar.gz) = 28ad7f799cc49d548b1d8462f051e6df