aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom-freedoom/Makefile
blob: 016d09f17a6b175bf30a351f7f6129f28216d8dc (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.5
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${DMPKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-iwad-${PORTVERSION}

MAINTAINER= alepulver@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>