diff options
author | wiz <wiz> | 2005-01-07 11:14:10 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-01-07 11:14:10 +0000 |
commit | 88fb165efd3e4adcdb36145c3b8c31754b826763 (patch) | |
tree | 6f77ff37683ebbce394527fde84dd29ac3ca2ab6 /games/qnetwalk/Makefile | |
parent | b9dbc742c70f96a8b71bf68959bea0ea8ea8954e (diff) | |
download | pkgsrc-88fb165efd3e4adcdb36145c3b8c31754b826763.tar.gz |
Initial import of qnetwalk from pkgsrc-wip, packaged by Ian Zagorskih.
QNetwalk is a Qt-version of the popular NetWalk game
for system administrators :)
Rules of play:
* You are the system administrator and your goal is
to connect each computer to the central server.
* Click the right mouse's button for turning the cable
in a clockwise direction, and left mouse's button for
turning the cable in a counter-clockwise direction.
* Start the LAN with as few turns as possible!
Diffstat (limited to 'games/qnetwalk/Makefile')
-rw-r--r-- | games/qnetwalk/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile new file mode 100644 index 00000000000..d2b60e70cf4 --- /dev/null +++ b/games/qnetwalk/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/01/07 11:14:10 wiz Exp $ +# + +DISTNAME= qnetwalk-1.1 +CATEGORIES= x11 games +MASTER_SITES= http://qt.osdn.org.ua/ + +MAINTAINER= ianzag@mail.ru +HOMEPAGE= http://qt.osdn.org.ua/qnetwalk.html +COMMENT= QNetwalk is a Qt-version of the popular NetWalk game + +# We need qmake to build package's Makefile +BUILD_DEPENDS+= qt3-tools>=3.3:../../x11/qt3-tools + +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make +USE_LANGUAGES= c c++ +USE_LIBTOOL= YES + +QNETWALK_BIN= ${PREFIX}/bin +QNETWALK_MAN= ${PREFIX}/man/man6 +QNETWALK_DATA= ${PREFIX}/share/games/${PKGBASE} +QNETWALK_TR= ${QNETWALK_DATA} + +do-configure: + (cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile qnetwalk.pro) + +# Fix hardcoded paths +SUBST_CLASSES= path +SUBST_MESSAGE.path= "Fixing hardcoded paths." +SUBST_STAGE.path= post-patch +SUBST_FILES.path= qnetwalk.pro main.cpp mainwindow.cpp +SUBST_SED.path= -e 's:@QNETWALK_BIN@:${QNETWALK_BIN}:g' +SUBST_SED.path+= -e 's:@QNETWALK_MAN@:${QNETWALK_MAN}:g' +SUBST_SED.path+= -e 's:@QNETWALK_TR@:${QNETWALK_TR}:g' +SUBST_SED.path+= -e 's:@QNETWALK_DATA@:${QNETWALK_DATA}:g' + +.include "../../x11/qt3-libs/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |