freebsd-ports/games/warsow-data/Makefile
Alexey Dokuchaev 050c8c51cd - Update to version 0.42, in preparation to update games/warsow
- Install more complete set of things; demo tutorials, sample configuration
  files et al. can be useful for typical Warsow player
- Utilize COPYTREE_SHARE macro
- Reindent Makefile header a bit
- Remove install/deinstall scripts; normally, configuration files are
  created and maintained in users' home directory for most Quake-engine
  based games these days; Warsow is no exception

Approved by:	acm (maintainer, implicit, a while ago)
2008-07-25 05:27:12 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: warsow-data
# Date created: 2006-08-03
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= data
PORTVERSION= 0.42
CATEGORIES= games
MASTER_SITES= http://data.rodix.free.fr/warsow/files/ \
http://88.191.19.21/wsw/ \
http://www.derchris.net/warsow/ \
http://gedankenschlag.de/mirror/ \
http://uzz.cc/ \
http://wahs.de/warsow/ \
http://tastyspleen.net/quake/downloads/mods/warsow/
PKGNAMEPREFIX= warsow-
DISTNAME= ${PKGNAMEPREFIX:S/-//}_${PORTVERSION}_unified
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}
MAINTAINER= acm@FreeBSD.org
COMMENT= Warsow data files
USE_ZIP= yes
USE_DOS2UNIX= ${TXTDOCS}
NO_BUILD= yes
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX:S/-//}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX:S/-//}
TXTDOCS= bots_navigation.txt changelog.txt contact.txt credits.txt \
dedicated_server_quide.txt demoavi.txt democams.txt \
features.txt huds.txt license.txt mousefilter.txt \
query_protocols.txt
PORTDOCS= 0.4_renderer_changes.png ${TXTDOCS}
do-install:
@${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} basewsw ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>