freebsd-ports/games/doom-freedoom/Makefile
2014-03-10 14:49:26 +00:00

39 lines
887 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= freedoom
PORTVERSION= 0.7
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-iwad
PKGNAMEPREFIX= ${DMPKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-iwad-${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
COMMENT= Complete Doom-based game IWAD that is Free Software
USES= zip:infozip
NO_BUILD= yes
DATADIR= ${DMDIR}/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PLIST_FILES= %%DATADIR%%/doom2.wad
PLIST_DIRS= %%DATADIR%%
PORTDOCS= ChangeLog NEWS README
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/doom2.wad ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.mk>