Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 11:42:56 +0200 (EET)
From:      Oleksandr Bezpalko <bestia@iptcom.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Oleksandr Bezpalko <bestia@de22.kiev.ua>
Subject:   ports/48236: upgrade port fortuneru
Message-ID:  <200302130942.h1D9guwt042214@de22.kiev.ua>

next in thread | raw e-mail | index | archive | help

>Number:         48236
>Category:       ports
>Synopsis:       upgrade port fortuneru
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 13 02:00:26 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Oleksandr Bezpalko
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
DE22
>Environment:
System: FreeBSD de22.kiev.ua 4.7-STABLE FreeBSD 4.7-STABLE #22: Mon Feb 10 09:30:56 EET 2003 root@de22.kiev.ua:/usr/obj/usr/src/sys/BESTIA i386

>Description:
>How-To-Repeat:
>Fix:


--- Makefile	13 Feb 2003 07:48:50 -0000	1.1
+++ Makefile	13 Feb 2003 09:33:38 -0000
@@ -6,34 +6,45 @@
 #
 
 PORTNAME=	fortuneru
-PORTVERSION=	0.2
+PORTVERSION=  0.3
 CATEGORIES=	russian
-MASTER_SITES=	ftp://de22.kiev.ua/pub/files/
+MASTER_SITES= ftp://de22.kiev.ua/pub/files/ \
+		ftp://hosting.cvu.kiev.ua/pub/files/ \
+		ftp://viva-solutions.com.ua/pub/files/
 DISTNAME=	fortune.ru-${PORTVERSION}
 
-MAINTAINER=	bestia@iptcom.net
+MAINTAINER=   bestia@de22.kiev.ua
+COMMENT=      Fortunes on russian
 
 NO_BUILD=	yes
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
 STRCMD=		/usr/games/strfile
-FORTUNES=	4hf aphorizms beer-murphy enciklopedy fomenko fortune_rus \
-		guberman marazm maxim_and_fedor murphy police speed-info \
-		strug usenet verse windows_errors
+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
-	${SED} -e "s,%%PREFIX%%,${PREFIX}," < ${FILESDIR}/pkg-message.in > \
-		${PKGMESSAGE}
 	@${MKDIR} ${PREFIX}/share/games/fortune/rus
 .for fortune in ${FORTUNES}
 	${INSTALL_DATA} ${WRKSRC}/${fortune} ${PREFIX}/share/games/fortune/rus
 .endfor
+
+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
+	${STRCMD} ${PREFIX}/share/games/fortune/rus/${fortune} >/dev/null 2>/dev/null
 .endfor
-	@${CAT} ${PKGMESSAGE}
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "Usage:"
+	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/rus"
+	@${ECHO_MSG} ""
 
 .include <bsd.port.mk>

--- distinfo	13 Feb 2003 07:48:50 -0000	1.1
+++ distinfo	13 Feb 2003 08:50:32 -0000
@@ -1 +1 @@
-MD5 (fortune.ru-0.2.tar.gz) = f374f6368545d1d4d6505be24bf96fb4
+MD5 (fortune.ru-0.3.tar.gz) = 11cd4b517e15254979934b2099a62c22


--- pkg-descr	13 Feb 2003 07:48:50 -0000	1.1
+++ pkg-descr	13 Feb 2003 08:50:56 -0000
@@ -1,3 +1,3 @@
 This package contains fortune files in Russian.
 
-- ported to FreeBSD by bestia (bestia@iptcom.net)
+- ported to FreeBSD by bestia (bestia@de22.kiev.ua)


--- pkg-plist	13 Feb 2003 07:48:50 -0000	1.1
+++ pkg-plist	13 Feb 2003 09:11:44 -0000
@@ -1,7 +1,5 @@
 share/games/fortune/rus/4hf
 share/games/fortune/rus/4hf.dat
-share/games/fortune/rus/aphorizms
-share/games/fortune/rus/aphorizms.dat
 share/games/fortune/rus/beer-murphy
 share/games/fortune/rus/beer-murphy.dat
 share/games/fortune/rus/enciklopedy
@@ -30,6 +28,8 @@
 share/games/fortune/rus/verse.dat
 share/games/fortune/rus/windows_errors
 share/games/fortune/rus/windows_errors.dat
+share/games/fortune/rus/pavlenka
+share/games/fortune/rus/pavlenka.dat
 @dirrm share/games/fortune/rus
 @unexec rmdir %D/share/games/fortune 2>/dev/null || true
 @unexec rmdir %D/share/games 2>/dev/null || true

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302130942.h1D9guwt042214>