2005-11-24 11:04:34 +01:00
|
|
|
# New ports collection makefile for: doom-freedoom
|
|
|
|
# Date created: 23 November 2005
|
|
|
|
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= freedoom
|
2006-10-05 02:33:56 +02:00
|
|
|
PORTVERSION= 0.5
|
2005-11-24 11:04:34 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2005-12-09 12:19:52 +01:00
|
|
|
PKGNAMEPREFIX= ${DMPKGNAMEPREFIX}
|
2005-11-24 11:04:34 +01:00
|
|
|
DISTNAME= ${PORTNAME}-iwad-${PORTVERSION}
|
|
|
|
|
2006-04-09 15:08:16 +02:00
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
2005-11-24 11:04:34 +01:00
|
|
|
COMMENT= Complete Doom-based game IWAD that is Free Software
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-12-09 12:19:52 +01:00
|
|
|
DATADIR= ${DMDIR}/${PORTNAME}
|
2006-10-05 02:33:56 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
2005-12-09 12:19:52 +01:00
|
|
|
|
2005-11-24 11:04:34 +01:00
|
|
|
PLIST_FILES= %%DATADIR%%/doom2.wad
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
2006-10-05 02:33:56 +02:00
|
|
|
PORTDOCS= ChangeLog NEWS README
|
2005-11-24 11:04:34 +01:00
|
|
|
|
|
|
|
do-install:
|
2006-04-17 21:49:11 +02:00
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doom2.wad ${DATADIR}
|
2006-10-05 02:33:56 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2005-11-24 11:04:34 +01:00
|
|
|
|
2005-12-09 12:19:52 +01:00
|
|
|
.include "${.CURDIR}/../doom-data/Makefile.include"
|
2005-11-24 11:04:34 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|