Bug 48419 - Update port fortuneru
Summary: Update port fortuneru
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-18 12:20 UTC by Oleksandr Bezpalko
Modified: 2003-02-19 15:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Bezpalko 2003-02-18 12:20:11 UTC

Fix: 

--- Makefile	18 Feb 2003 11:42:49 -0000	
+++ Makefile	18 Feb 2003 12:10:25 -0000
@@ -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,13 @@
 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
+
+FORTUNES=
 
 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 +36,9 @@
 .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"


--- distinfo	18 Feb 2003 11:42:49 -0000
+++ distinfo	18 Feb 2003 11:52:10 -0000
@@ -1 +1 @@
-MD5 (fortune.ru-0.3.tar.gz) = 11cd4b517e15254979934b2099a62c22
+MD5 (fortune.ru-0.4.tar.gz) = 28ad7f799cc49d548b1d8462f051e6df
Comment 1 Yen-Ming Lee freebsd_committer freebsd_triage 2003-02-19 15:05:46 UTC
State Changed
From-To: open->closed

Committed, thanks.