mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-17 19:39:43 +00:00
2ca9bcd573
While here, set the MAKEFILE instead of copying the Makefile,
drop dubious or even bogus compiler options (see the log for
commit 7b672c1318
for exact reasons) and needless LDFLAGS.
Reported by: pkg-fallout
35 lines
1017 B
Makefile
35 lines
1017 B
Makefile
PORTNAME= rogue
|
|
PORTVERSION= 3.20
|
|
CATEGORIES= games
|
|
MASTER_SITES= IDSOFTWARE/quake2/source
|
|
PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}src${PORTVERSION:S/.//}
|
|
EXTRACT_SUFX= .shar.Z
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Quake II: Ground Zero (Rogue) official mission pack
|
|
WWW= http://www.idsoftware.com/games/quake/quake2-grndzero/
|
|
|
|
MAKEFILE= ${FILESDIR}/Makefile
|
|
NO_WRKSUBDIR= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_FILES= %%Q2DIR%%/${PORTNAME}/game.so
|
|
PLIST_DIRS= %%Q2DIR%%/${PORTNAME}
|
|
|
|
do-extract:
|
|
@cd ${WRKSRC} && uncompress -c ${DISTDIR}/${DISTFILES} | \
|
|
${TAIL} +454 | ${SH}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/#include <nan\.h>/d' ${WRKSRC}/g_local.h
|
|
@${REINPLACE_CMD} -e '/extern SP_monster_makron/d' ${WRKSRC}/m_boss31.c
|
|
@${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${WRKSRC}/q_shared.[ch]
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/game.so ${STAGEDIR}${Q2DIR}/${PORTNAME}
|
|
|
|
.include "${.CURDIR}/../quake2-data/Makefile.include"
|
|
.include <bsd.port.mk>
|