freebsd-ports/games/masterserver/Makefile
2021-04-06 16:31:07 +02:00

24 lines
611 B
Makefile

# Created by: alepulver
PORTNAME= masterserver
PORTVERSION= 0.4.1
CATEGORIES= games
MASTER_SITES= SF/lasange-system/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Masterserver for IdSoftware games (D3, EF, H2, Q2, Q3, QW)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake tar:bzip2
post-patch:
@${REINPLACE_CMD} 's|bindir|DESTDIR)$$(&|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's|libdir|DESTDIR)$$(&|' ${WRKSRC}/plugins/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/*.so
.include <bsd.port.mk>