summaryrefslogblamecommitdiff
path: root/games/doom-freedoom/Makefile
blob: 1745808829d61a1fc309cb306a08d823f15ee2c4 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                               
                     
                     
                  
                                  

                                               
                                     




                                                                   
                                    
                                                               
 

                                     
                                     

           

                                                      





                                                 
 
                                                   

                      
# New ports collection makefile for:	doom-freedoom
# Date created:				23 November 2005
# Whom:					Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=	freedoom
PORTVERSION=	0.6.2
CATEGORIES=	games
MASTER_SITES=	SF
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>