summaryrefslogtreecommitdiff
path: root/games/pokerth/Makefile
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2009-01-31 03:04:37 +0000
committerahoka <ahoka@pkgsrc.org>2009-01-31 03:04:37 +0000
commitd3c026e491bd255743e110b31c2bfea22da6fc07 (patch)
tree9b0b2d743741ab501740e1755b9b71046636eff7 /games/pokerth/Makefile
parentac5530588456cf084dc3ea05ab1404f83f1529c4 (diff)
downloadpkgsrc-d3c026e491bd255743e110b31c2bfea22da6fc07.tar.gz
Import pokerth-0.6.3.2 as games/pokerth.
PokerTH is a poker game written in C++/QT4. You can play the popular "Texas Hold'em" poker variant against up to six computer-opponents or play network games with people all over the world. This poker engine is available for Linux, Windows, and MacOSX and BSD.
Diffstat (limited to 'games/pokerth/Makefile')
-rw-r--r--games/pokerth/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile
new file mode 100644
index 00000000000..83fc0aac112
--- /dev/null
+++ b/games/pokerth/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $
+#
+
+DISTNAME= PokerTH-0.6.3-2-src
+PKGNAME= pokerth-0.6.3.2
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pokerth/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ahoka@NetBSD.org
+HOMEPAGE= http://pokerth.sourceforge.net/
+COMMENT= Texas Holdem poker with online play
+
+USE_TOOLS= gmake
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_DIRS+= xdg-1.4
+
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin lib ${PKGMANDIR}/man1 share/pokerth \
+ share/pixmaps share/applications
+
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake pokerth.pro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/pokerth ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${DESTDIR}${PREFIX}/bin
+ ${CP} -R ${WRKSRC}/data ${DESTDIR}${PREFIX}/share/pokerth/
+ ${INSTALL_DATA} ${WRKSRC}/pokerth.png ${DESTDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/pokerth.desktop ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_MAN} ${WRKSRC}/docs/pokerth.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"