1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/games/quake3-data/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +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= 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>