diff options
Diffstat (limited to 'games/quake2-xatrix/Makefile')
-rw-r--r-- | games/quake2-xatrix/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games/quake2-xatrix/Makefile b/games/quake2-xatrix/Makefile new file mode 100644 index 000000000000..829919e31826 --- /dev/null +++ b/games/quake2-xatrix/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: quake2-xatrix +# Date created: 26 Jul 2006 +# Whom: alepulver +# +# $FreeBSD$ +# + +PORTNAME= xatrix +PORTVERSION= 3.20 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_IDSOFTWARE} +MASTER_SITE_SUBDIR= quake2/source +PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}src${PORTVERSION:S/.//} +EXTRACT_SUFX= .shar.Z + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= Quake II: The Reckoning (Xatrix) Mission Pack + +NO_WRKSUBDIR= yes + +LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} + +PLIST_FILES= %%Q2DIR%%/${PORTNAME}/game.so +PLIST_DIRS= %%Q2DIR%%/${PORTNAME} + +SUB_FILES= pkg-message + +.include "${.CURDIR}/../quake2-data/Makefile.include" + +.include <bsd.port.pre.mk> + +do-extract: + @${MKDIR} ${WRKDIR} + @cd ${WRKDIR} && \ + uncompress -c ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ + ${TAIL} +441 | ${SH} + +post-extract: + @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} + +post-patch: + @${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${WRKSRC}/q_shared.[ch] + +do-install: + ${MKDIR} ${Q2DIR}/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${Q2DIR}/${PORTNAME} + +.include <bsd.port.post.mk> |