1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/quake3-data/Makefile
2011-03-14 16:47:46 +00:00

61 lines
1.2 KiB
Makefile

# New ports collection makefile for: Quake 3 paks
# Date created: 1st March 2003
# Whom: nik@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= data
DISTVERSION= 1.32b-3
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_IDSOFTWARE}
MASTER_SITE_SUBDIR= quake3/linux
PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX}
DISTNAME= linuxq3apoint-${DISTVERSION}.x86
EXTRACT_SUFX= .run
MAINTAINER= danfe@FreeBSD.org
COMMENT= Quake III Arena data files
NO_BUILD= yes
NO_WRKSUBDIR= yes
OPTIONS= TEAMARENA "Install Quake III Team Arena data files" on
DATADIR= ${Q3DIR}
SUB_FILES= pkg-message
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@cd ${WRKDIR} && ${TAIL} +356 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
${TAR} zxf - >/dev/null
.include "Makefile.include"
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_TEAMARENA)
PLIST_SUB+= TEAMARENA=""
.else
PLIST_SUB+= TEAMARENA="@comment "
.endif
do-install:
@${MKDIR} ${DATADIR}
@${CP} -R ${WRKSRC}/baseq3 ${DATADIR}
@${MKDIR} ${PREFIX}/share/pixmaps
@${INSTALL_DATA} ${WRKSRC}/quake3.xpm ${PREFIX}/share/pixmaps
.if !defined(WITHOUT_TEAMARENA)
@${CP} -R ${WRKSRC}/missionpack ${DATADIR}
.endif
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>