summaryrefslogtreecommitdiff
path: root/games/civctp-demo/Makefile
diff options
context:
space:
mode:
authorabs <abs>2000-10-16 12:24:02 +0000
committerabs <abs>2000-10-16 12:24:02 +0000
commit826212fe64d7943d2927a5dfe71c2845bf11a19f (patch)
tree2dd3bacb6cb3adeb5ae3580399a31caeee81af8f /games/civctp-demo/Makefile
parentee3cf17b3af6e66de5947960ce53c7685ee3efa4 (diff)
downloadpkgsrc-826212fe64d7943d2927a5dfe71c2845bf11a19f.tar.gz
Civilization: Call to Power is the latest in the line of the
"Civilization" games. Build up your civilization from the dawn of the Stone Age until it reaches for the stars--and beyond. Through conquest, cooperation, skulduggery and innovation, you can build a civilization for the ages--or land on the scrapheap of history. If you're feeling invincible, you can test your mettle online or over a network against multiple players. For strategy game fans, this is a must-have. This is the free demo version - a full version is available from Loki Games at http://www.lokigames.com/products/civctp/
Diffstat (limited to 'games/civctp-demo/Makefile')
-rw-r--r--games/civctp-demo/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/games/civctp-demo/Makefile b/games/civctp-demo/Makefile
new file mode 100644
index 00000000000..89e0e7efbf8
--- /dev/null
+++ b/games/civctp-demo/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/16 12:24:02 abs Exp $
+#
+
+DISTNAME= civctp-demo-10251999
+PKGNAME= civctp-demo-19991025
+CATEGORIES= games x11
+MASTER_SITES= ftp://ftp.linuxgames.com/loki/demos/civctp/ \
+ ftp://download.linuxlords.com/pub/demos/civctp/ \
+ ftp://ftp.linux.tucows.com/pub/Loki/demos/civctp/
+
+MAINTAINER= abs@netbsd.org
+HOMEPAGE= http://www.lokigames.com/products/civctp/demo.php3
+
+MIRROR_DISTFILE=no
+
+NO_CONFIGURE= yes
+
+.if !make(fetch)
+# Someone needs to look at alpha, powerpc and sparc compat_linux
+ONLY_FOR_PLATFORM=*-*-i386
+.endif
+
+.if (${MACHINE_ARCH} == "i386")
+BINTYPE= x86/glibc-2.1
+# DEPENDS+= suse_base>=6.1:../../emulators/suse_base
+.elif (${MACHINE_ARCH} == "alpha")
+BINTYPE= alpha/glibc-2.1
+.elif (${MACHINE_ARCH} == "powerpc")
+BINTYPE= ppc/glibc-2.1
+.elif (${MACHINE_ARCH} == "sparc64")
+BINTYPE= sparc64/glibc-2.1
+.endif
+
+WRKNAME= civctp_demo
+DISTBINNAME= civctp
+BINNAME= civctp-demo
+
+DIST_SUBDIR= lokigames
+LIBDIR= ${PREFIX}/lib/lokigames/${BINNAME}
+SHAREDIR= ${PREFIX}/share/doc/lokigames
+WRKSRC= ${WRKDIR}/${WRKNAME}
+
+do-build:
+ ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \
+ -e 's#@@LIBDIR@@#${LIBDIR}#g' \
+ -e 's#@@BINNAME@@#${BINNAME}#g' \
+ <${FILESDIR}/wrapper.sh >${WRKDIR}/${BINNAME}.sh
+
+# The executable must be in the same directory as the data.
+do-install:
+ ${MKDIR} ${LIBDIR}
+ ${MKDIR} ${SHAREDIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${BINNAME}
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BINTYPE}/${DISTBINNAME} ${LIBDIR}/${BINNAME}
+ ${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README
+ cd ${WRKSRC} ; ${PAX} -rw appstr.txt civpaths.txt ctp_data ${LIBDIR}
+
+.include "../../mk/bsd.pkg.mk"