diff options
Diffstat (limited to 'games/civctp-demo/Makefile')
-rw-r--r-- | games/civctp-demo/Makefile | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/games/civctp-demo/Makefile b/games/civctp-demo/Makefile index af2d15c683a..6f811f5b6d9 100644 --- a/games/civctp-demo/Makefile +++ b/games/civctp-demo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/02/05 23:09:13 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2007/07/29 05:19:25 jlam Exp $ DISTNAME= civctp-demo-10251999 PKGNAME= civctp-demo-19991025 @@ -12,23 +12,12 @@ MAINTAINER= abs@NetBSD.org HOMEPAGE= http://www.lokigames.com/products/civctp/ COMMENT= Civilization: Call to Power - graphical strategy (linux demo) -WRKSRC= ${WRKDIR}/${WRKNAME} -NO_CONFIGURE= yes - # Someone needs to look at alpha, powerpc and sparc compat_linux -ONLY_FOR_PLATFORM=*-*-i386 - -.if (${MACHINE_ARCH} == "i386") -BINTYPE= x86/glibc-2.1 +EMUL_PLATFORMS= linux-i386 +EMUL_MODULES.linux= x11 -DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11 -.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 +WRKSRC= ${WRKDIR}/${WRKNAME} +BUILD_DIRS= # empty WRKNAME= civctp_demo DISTBINNAME= civctp @@ -38,6 +27,12 @@ DIST_SUBDIR= lokigames LIBDIR= ${PREFIX}/lib/lokigames/${BINNAME} SHAREDIR= ${PREFIX}/share/doc/lokigames +BINTYPE.i386= x86/glibc-2.1 +BINTYPE.alpha= alpha/glibc-2.1 +BINTYPE.powerpc= ppc/glibc-2.1 +BINTYPE.sparc64= sparc64/glibc-2.1 +BINTYPE= ${BINTYPE.${EMUL_ARCH}} + INSTALLATION_DIRS= bin do-build: @@ -55,5 +50,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README cd ${WRKSRC} && ${PAX} -rw appstr.txt civpaths.txt ctp_data ${LIBDIR} -.include "../../emulators/suse_linux/Makefile.application" .include "../../mk/bsd.pkg.mk" |