1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/games/quake3-data/Makefile
Alejandro Pulver 6f1904ab75 - Remove PKGMESSAGE override (SUB_FILES does that).
- Fix OPTIONS handling.
- Remove USE_REINPLACE.
- Bump PORTREVISION.

Approved by:	garga (mentor)
2006-04-24 21:14:18 +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= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_IDSOFTWARE}
MASTER_SITE_SUBDIR= quake3/linux
PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX}
DISTNAME= linuxq3apoint-${DISTVERSION}.x86
EXTRACT_SUFX= .run
MAINTAINER= alepulver@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>