summaryrefslogtreecommitdiff
path: root/games/rftg/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-09-06 12:13:27 +0000
committerwiz <wiz@pkgsrc.org>2009-09-06 12:13:27 +0000
commitf2a4fc087fb23e4e325decac0dd2efcfecf5ad8a (patch)
treea68b136e280b13402502b744d1783c59e5ad3bc2 /games/rftg/Makefile
parentc0d32bfb8eea1f0d2ec3898cdcc6792a11aa91c3 (diff)
downloadpkgsrc-f2a4fc087fb23e4e325decac0dd2efcfecf5ad8a.tar.gz
Initial import of rftg-0.5.2:
This is a program to play Race for the Galaxy against AI players.
Diffstat (limited to 'games/rftg/Makefile')
-rw-r--r--games/rftg/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/games/rftg/Makefile b/games/rftg/Makefile
new file mode 100644
index 00000000000..1f0dca9b16d
--- /dev/null
+++ b/games/rftg/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/06 12:13:27 wiz Exp $
+#
+
+DISTNAME= rftg-0.5.2
+CATEGORIES= games
+MASTER_SITES= http://warpcore.org/rftg/ \
+ http://keldon.net/rftg/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://keldon.net/rftg/
+COMMENT= AI opponent(s) for the card game Race for the Galaxy
+#LICENSE= gnu-gpl-v2 AND ??? (but allowed)
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+INSTALLATION_DIRS+= libexec share/doc/rftg
+
+post-build:
+ ${ECHO} '#!/bin/sh' > ${WRKSRC}/rftg.sh
+ ${ECHO} 'cd ${PREFIX}/share/rftg && ${PREFIX}/libexec/rftg' \
+ >> ${WRKSRC}/rftg.sh
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/rftg ${DESTDIR}${PREFIX}/libexec/rftg
+ ${INSTALL_SCRIPT} ${WRKSRC}/rftg.sh ${DESTDIR}${PREFIX}/bin/rftg
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/rftg
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"