From 540e0281a4e91b921b54e3d9f8acb7bac1458637 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 12 Dec 2005 14:43:23 +0000 Subject: 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. --- games/et/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'games/et/Makefile') 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 -- cgit v1.2.3