freebsd-ports/games/noegnud-addons/Makefile
Pav Lucistnik b3ed5741b5 noeGNUd aims to be the ultimate User Interface ( UI ) for nethack. comibining
character mode, 2D tilesets and 3d graphics, all interchangeable at runtime to
allow the serious nethack player ultimate freedom of interface to the game that
allows ultimate freedom of gameplay and imagination.

noegnud-data is the foundamental data for noeGNUd which all noeGNUd games
depend on it. noegnud-nethack, noegnud-nethack-deet, noegnud-slashem, and
noegnud-littlehack are the four variant games that noeGNUd support.
noegnud-addons installs tilesets and sound themes.

PR:		ports/65318
Submitted by:	Leland Wang <llwang@infor.org>
2005-02-18 13:12:51 +00:00

75 lines
2.2 KiB
Makefile

# New ports collection makefile for: noegnud-addons
# Date created: 7 April 2004
# Whom: Leland Wang <llwang@infor.org>
#
# $FreeBSD$
#
PORTNAME= noegnud
PORTVERSION= 0.8.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -addons
DISTFILES= ${DISTNAME}_data-tileset-absurd${EXTRACT_SUFX}
MAINTAINER= llwang@infor.org
COMMENT= The addons (tilesets and sound themes) for noeGNUd
PLIST= ${WRKDIR}/pkg-plist
OPTIONS= TILESET_ABSURD "absurd tileset" on \
TILESET_ITAKURA "itakura tileset" off \
TILESET_MAZKO "mazko tileset" off \
TILESET_ABIGABI "abigabi tileset" off \
TILESET_GEODUCK "geoduck tileset" off \
TILESET_LAGGED "lagged tileset" off \
TILESET_AOKI "aoki tileset" off \
TILESET_FALCONSEYE "falcons eye tileset" off \
SOUND_NHS "nhs (qt) sound theme" off \
SOUND_FALCONSEYE "falcons eye sound theme" off
.include <bsd.port.pre.mk>
.if defined(WITHOUT_TILESET_ABSURD)
DISTFILES=
.endif
.if defined(WITH_TILESET_ITAKURA)
DISTFILES+= ${DISTNAME}_data-tileset-itakura${EXTRACT_SUFX}
.endif
.if defined(WITH_TILESET_MAZKO)
DISTFILES+= ${DISTNAME}_data-tileset-mazko${EXTRACT_SUFX}
.endif
.if defined(WITH_TILESET_ABIGABI)
DISTFILES+= ${DISTNAME}_data-tileset-abigabi${EXTRACT_SUFX}
.endif
.if defined(WITH_TILESET_GEODUCK)
DISTFILES+= ${DISTNAME}_data-tileset-geoduck${EXTRACT_SUFX}
.endif
.if defined(WITH_TILESET_LAGGED)
DISTFILES+= ${DISTNAME}_data-tileset-lagged${EXTRACT_SUFX}
.endif
.if defined(WITH_TILESET_AOKI)
DISTFILES+= ${DISTNAME}_data-tileset-aoki${EXTRACT_SUFX}
.endif
.if defined(WITH_TILESET_FALCONSEYE)
DISTFILES+= ${DISTNAME}_data-tileset-falconseye${EXTRACT_SUFX}
.endif
.if defined(WITH_SOUND_NHS)
DISTFILES+= ${DISTNAME}_data-sound-nhs${EXTRACT_SUFX}
.endif
.if defined(WITH_SOUND_FALCONSEYE)
DISTFILES+= ${DISTNAME}_data-sound-falconseye${EXTRACT_SUFX}
.endif
NO_BUILD= yes
pre-install:
@${TOUCH} ${PLIST}
@(cd ${WRKDIR} && ${FIND} ${DISTNAME} \! -type d) | ${SORT} | ${SED} -e 's:^:share/:' > ${PLIST}
@(cd ${WRKDIR} && ${FIND} ${DISTNAME} -type d) | ${SORT} -r | ${SED} -e 's:^:@unexec rmdir %D/share/:' | ${SED} -e 's:$$: 2>/dev/null || true:' >> ${PLIST}
do-install:
${CP} -R ${WRKSRC} ${PREFIX}/share
.include <bsd.port.post.mk>