freebsd-ports/games/quake3-wfa/Makefile
Alexey Dokuchaev c23e6e8c43 Cleanup quake3-data a bit more:
- Remove USE_CRLF knob: instead, when extracting ZIP archives, ask it to
    convert text files to Unix style.  This should be no-op change, as all
    consumers of USE_CRLF also USE_ZIP
  - While here, remove unneeded output redirection in `do-extract' target
2013-05-12 13:00:07 +00:00

42 lines
962 B
Makefile

# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$
PORTNAME= wfa
PORTVERSION= 3.5b
CATEGORIES= games
MASTER_SITES= http://www.ijs.si/~lesi/distfiles/
PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX}
DISTFILES= WFA35Engine.zip WFA35MapPack1.zip WFA35MapPack2.zip \
WFA_v35b.zip 35b_mappack1.zip
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Quake III Arena mod: Weapons Factory Arena
NO_PACKAGE= package will be 200MB, set FORCE_PACKAGE if you really want it
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
DATADIR= ${Q3DIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
.include "${.CURDIR}/../quake3-data/Makefile.include"
.include <bsd.port.options.mk>
post-extract:
@${RM} ${WRKSRC}/help/BobWFACfgV236.exe
do-install:
@${MKDIR} ${DATADIR}
.for f in *.cfg *.pk3
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${CP} -a ${WRKSRC}/EnglishRadioHelp ${WRKSRC}/help ${DOCSDIR}
.endif
.include <bsd.port.mk>