summaryrefslogtreecommitdiff
path: root/games/et/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-12 14:43:23 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-12 14:43:23 +0000
commitae0f7bb6570a72f4f758209a00fd719e85fd5227 (patch)
tree97ae5019218968b99f2894114562532ab97bb4da /games/et/Makefile
parentc1f29c2cdbfd37ad83c7801866c9b1288f1e446c (diff)
downloadpkgsrc-ae0f7bb6570a72f4f758209a00fd719e85fd5227.tar.gz
First step at reworking Linux binary packages.
Change most pkgs to depend on either emulators/suse_linux/Makefile.application (normal pkgs) or Makefile.common (suse91 and suse themselves) to filter out Operating Systems without Linux ABI support. Use CPU masks to limit the pkg to supported platforms.
Diffstat (limited to 'games/et/Makefile')
-rw-r--r--games/et/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/et/Makefile b/games/et/Makefile
index 3fa699212af..2929eec7497 100644
--- a/games/et/Makefile
+++ b/games/et/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/07/15 18:27:50 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2005/12/12 14:43:25 joerg Exp $
#
DISTNAME= et-linux-2.56-2.x86
@@ -13,18 +13,17 @@ COMMENT= Wolfenstein: Enemy Territory for Linux
NO_BUILD= yes
USE_PKGINSTALL= yes
-ONLY_FOR_PLATFORM= FreeBSD-*-i386 Linux-*-i386
+ONLY_FOR_PLATFORM= *-*-i386
USE_TOOLS+= gtar
ETDIR= ${PREFIX}/lib/lokigames/et
EXTRACT_CMD= ${TAIL} +356 ${DOWNLOADED_DISTFILE} | ${GTAR} xzf - \
-C ${WRKSRC}
-.include "../../mk/bsd.prefs.mk"
+.include "../../emulators/suse_linux/Makefile.application"
-.if ${OPSYS} != "Linux"
+.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_base>=6.3:../../emulators/${SUSE_DIR_PREFIX}_base
-.include "../../emulators/suse_linux/Makefile.application"
.endif
INSTALLATION_DIRS= bin