mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
bc45fe892c
- Strip libraries
26 lines
633 B
Makefile
26 lines
633 B
Makefile
# Created by: alepulver
|
|
# $FreeBSD$
|
|
|
|
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 # or later
|
|
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>
|