aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-27 09:14:33 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-27 09:14:33 +0000
commit50ba73ea587910685a3ad2b210b166438d649893 (patch)
tree6619f1eab3f86de054281a18bf729f53a8436c54
parentad090bf284cc0418528843640371e00fe8ea7864 (diff)
downloadports-50ba73ea587910685a3ad2b210b166438d649893.tar.gz
ports-50ba73ea587910685a3ad2b210b166438d649893.zip
Notes
-rw-r--r--games/qnetwalk/Makefile28
-rw-r--r--games/qnetwalk/distinfo6
-rw-r--r--games/qnetwalk/pkg-plist6
3 files changed, 20 insertions, 20 deletions
diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile
index e3efea8e9c09..6d9537ee380c 100644
--- a/games/qnetwalk/Makefile
+++ b/games/qnetwalk/Makefile
@@ -5,28 +5,19 @@
# $FreeBSD$
PORTNAME= qnetwalk
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 1.3
CATEGORIES= games
-MASTER_SITES= http://qt.osdn.org.ua/
+MASTER_SITES= http://qt.osdn.org.ua/ \
+ http://www.amdmi3.ru/distfiles/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= amdmi3@amdmi3.ru
COMMENT= Qt-version of the NetWalk game
-BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
-
-USE_QT_VER= 3
-MAKE_ENV= QTDIR="${QT_PREFIX}"
+USE_QT_VER= 4
+QT_COMPONENTS= qmake corelib gui moc rcc
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:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-spec ${QMAKESPEC} ${PORTNAME}.pro
@@ -34,9 +25,12 @@ do-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qnetwalk ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/qnetwalk.6 ${MANPREFIX}/man/man6
- @${MKDIR} ${DATADIR}/sounds
+ ${MKDIR} ${DATADIR}/sounds
${INSTALL_DATA} ${WRKSRC}/sounds/*.wav ${DATADIR}/sounds
- @${MKDIR} ${DATADIR}/translations
+ ${MKDIR} ${DATADIR}/translations
${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${DATADIR}/translations
+ ${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/menu/qnetwalk.desktop ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/menu/qnetwalk.xpm ${PREFIX}/share/pixmaps
.include <bsd.port.mk>
diff --git a/games/qnetwalk/distinfo b/games/qnetwalk/distinfo
index 1e997fb1f036..2e890ae5cf55 100644
--- a/games/qnetwalk/distinfo
+++ b/games/qnetwalk/distinfo
@@ -1,3 +1,3 @@
-MD5 (qnetwalk-1.2.tar.gz) = 4900f2834f5e175ebf0d67b48326011b
-SHA256 (qnetwalk-1.2.tar.gz) = 3ed88e67d554c2d449abae687366911135a6173f1c88637be857065e054a735c
-SIZE (qnetwalk-1.2.tar.gz) = 135517
+MD5 (qnetwalk-1.3.tar.gz) = bc55ac6b692ef6f7e347b039b12e3efe
+SHA256 (qnetwalk-1.3.tar.gz) = 583b11513cca87caf0c3615291f2df3e06e580aaa1ff09c88d19504da2274c66
+SIZE (qnetwalk-1.3.tar.gz) = 148686
diff --git a/games/qnetwalk/pkg-plist b/games/qnetwalk/pkg-plist
index dd6087fcfae2..96eb4f3406e2 100644
--- a/games/qnetwalk/pkg-plist
+++ b/games/qnetwalk/pkg-plist
@@ -1,4 +1,6 @@
bin/qnetwalk
+share/applications/qnetwalk.desktop
+share/pixmaps/qnetwalk.xpm
%%DATADIR%%/sounds/click.wav
%%DATADIR%%/sounds/connect.wav
%%DATADIR%%/sounds/start.wav
@@ -7,10 +9,14 @@ bin/qnetwalk
%%DATADIR%%/translations/qnetwalk_de.qm
%%DATADIR%%/translations/qnetwalk_es.qm
%%DATADIR%%/translations/qnetwalk_fr.qm
+%%DATADIR%%/translations/qnetwalk_it.qm
%%DATADIR%%/translations/qnetwalk_nl.qm
%%DATADIR%%/translations/qnetwalk_pl.qm
%%DATADIR%%/translations/qnetwalk_pt_BR.qm
%%DATADIR%%/translations/qnetwalk_ru.qm
+%%DATADIR%%/translations/qnetwalk_tr.qm
+%%DATADIR%%/translations/qnetwalk_ua.qm
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%
+@dirrmtry share/applications