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.
33 lines
803 B
Makefile
33 lines
803 B
Makefile
# $NetBSD: Makefile,v 1.9 2005/12/12 14:43:25 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= adom-111-elf
|
|
PKGNAME= adom-1.1.1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.adom.de/adom/download/linux/
|
|
|
|
MAINTAINER= svs@ropnet.ru
|
|
HOMEPAGE= http://www.adom.de/
|
|
COMMENT= Ancient Domains of Mystery - yet another roguelike game
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386
|
|
|
|
WRKSRC= ${WRKDIR}/adom
|
|
NO_BUILD= YES
|
|
NO_CONFIGURE= YES
|
|
CHECK_SHLIBS= NO
|
|
|
|
.include "../../emulators/suse_linux/Makefile.application"
|
|
|
|
.if !defined(USE_NATIVE_LINUX)
|
|
DEPENDS+= suse_base>=6.1:../../emulators/${SUSE_DIR_PREFIX}_base
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/adom
|
|
${INSTALL_DATA} ${WRKSRC}/*.* ${PREFIX}/share/doc/adom
|
|
${INSTALL_PROGRAM} ${WRKSRC}/adom ${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|