ports/75623: Update port: games/qnetwalk to 1.1

KATO Tsuguru tkato432 at yahoo.com
Wed Dec 29 17:10:27 UTC 2004


>Number:         75623
>Category:       ports
>Synopsis:       Update port: games/qnetwalk to 1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 29 17:10:13 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.1

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/qnetwalk/Makefile games/qnetwalk/Makefile
--- /usr/ports/games/qnetwalk/Makefile	Sun Nov 28 22:12:47 2004
+++ games/qnetwalk/Makefile	Wed Dec 29 12:46:16 2004
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/games/qnetwalk/Makefile,v 1.3 2004/11/27 14:53:00 arved Exp $
 
 PORTNAME=	qnetwalk
-PORTVERSION=	1.0
+PORTVERSION=	1.1
 CATEGORIES=	games
 MASTER_SITES=	http://qt.osdn.org.ua/
 
@@ -15,23 +15,28 @@
 BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
 
 USE_QT_VER=	3
-QMAKESPEC?=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++
-QMAKE?=		qmake
 USE_REINPLACE=	yes
 MAKE_ENV=	QTDIR="${QT_PREFIX}"
 
+MAN6=		qnetwalk.6
+
+QMAKE?=		qmake
+QMAKESPEC?=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		"s|/usr/local|${PREFIX}|g" ${WRKSRC}/${PORTNAME}.pro
+
 do-configure:
-	${REINPLACE_CMD} -e "s,/usr/local/share/games/qnetwalk,${DATADIR}," ${WRKSRC}/qnetwalk.pro
-	${REINPLACE_CMD} -e "s,share/games/,share/," ${WRKSRC}/main.cpp ${WRKSRC}/mainwindow.cpp
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
 		-spec ${QMAKESPEC} ${PORTNAME}.pro
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/qnetwalk ${PREFIX}/bin
-	${MKDIR} ${DATADIR}/sounds
-	cd ${WRKSRC}; ${INSTALL_DATA} qnetwalk_ru.qm ${DATADIR}
-	cd ${WRKSRC}; ${INSTALL_DATA} sounds/click.wav \
-		sounds/connect.wav sounds/start.wav sounds/turn.wav \
-		sounds/win.wav ${DATADIR}/sounds
+	${INSTALL_MAN} ${WRKSRC}/qnetwalk.6 ${MANPREFIX}/man/man6
+	@${MKDIR} ${DATADIR}/sounds
+	${INSTALL_DATA} ${WRKSRC}/sounds/*.wav ${DATADIR}/sounds
+	@${MKDIR} ${DATADIR}/translations
+	${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${DATADIR}/translations
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/qnetwalk/distinfo games/qnetwalk/distinfo
--- /usr/ports/games/qnetwalk/distinfo	Fri Nov 12 21:02:57 2004
+++ games/qnetwalk/distinfo	Wed Dec 29 12:24:26 2004
@@ -1,2 +1,2 @@
-MD5 (qnetwalk-1.0.tar.gz) = 49e7c5288cbec1eb01281159b4a6fe98
-SIZE (qnetwalk-1.0.tar.gz) = 124445
+MD5 (qnetwalk-1.1.tar.gz) = 707956bcf8fe75b750ef7f01a1e6a086
+SIZE (qnetwalk-1.1.tar.gz) = 129450
diff -urN /usr/ports/games/qnetwalk/pkg-plist games/qnetwalk/pkg-plist
--- /usr/ports/games/qnetwalk/pkg-plist	Fri Nov 12 21:02:57 2004
+++ games/qnetwalk/pkg-plist	Wed Dec 29 12:33:20 2004
@@ -1,9 +1,12 @@
 bin/qnetwalk
-%%DATADIR%%/qnetwalk_ru.qm
 %%DATADIR%%/sounds/click.wav
 %%DATADIR%%/sounds/connect.wav
 %%DATADIR%%/sounds/start.wav
 %%DATADIR%%/sounds/turn.wav
 %%DATADIR%%/sounds/win.wav
+%%DATADIR%%/translations/qnetwalk_fr.qm 
+%%DATADIR%%/translations/qnetwalk_nl.qm
+%%DATADIR%%/translations/qnetwalk_ru.qm 
 @dirrm %%DATADIR%%/sounds
+ at dirrm %%DATADIR%%/translations
 @dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list