aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom-freedoom/Makefile
blob: f748e14a926ba4c116cae3bae6cc0bef77c806af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    doom-freedoom
# Date created:             23 November 2005
# Whom:                 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

USE_ZIP=    yes
NO_BUILD=   yes

DATADIR=    ${DMDIR}/${PORTNAME}
DOCSDIR=    ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

PLIST_FILES=    %%DATADIR%%/doom2.wad
PLIST_DIRS= %%DATADIR%%
PORTDOCS=   ChangeLog NEWS README

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>