Index: head/russian/fortuneru/Makefile =================================================================== --- head/russian/fortuneru/Makefile (revision 75889) +++ head/russian/fortuneru/Makefile (revision 75890) @@ -1,50 +1,45 @@ # New ports collection makefile for: fortuneru # Date created: 26-09-2001 # Whom: bestia@iptcom.net # # $FreeBSD$ # 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 COMMENT= Fortunes in russian 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}) @${ECHO_MSG} "Please install the games distribution" @exit 1 .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" @${ECHO_MSG} "" .include Property changes on: head/russian/fortuneru/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/russian/fortuneru/distinfo =================================================================== --- head/russian/fortuneru/distinfo (revision 75889) +++ head/russian/fortuneru/distinfo (revision 75890) @@ -1 +1 @@ -MD5 (fortune.ru-0.3.tar.gz) = 11cd4b517e15254979934b2099a62c22 +MD5 (fortune.ru-0.4.tar.gz) = 28ad7f799cc49d548b1d8462f051e6df Property changes on: head/russian/fortuneru/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property