summaryrefslogtreecommitdiffstats
path: root/games/masterserver/Makefile
blob: 436949a2fd62b85f3626956074c23d69863e1d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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+
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>
OpenPOWER on IntegriCloud