blob: fa7b487f828ad73a4dd027a230ea8c07fdac2278 (
plain) (
blame)
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
26
27
28
29
30
31
32
33
34
35
|
# Created by: pat@databits.net
# $FreeBSD$
PORTNAME= hlmaster
PORTVERSION= 0.9.3
CATEGORIES= net games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Half-Life game master server daemon
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= dos2unix
DOS2UNIX_GLOB= *.cpp
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
pre-patch:
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name Makefile.in | \
${XARGS} ${REINPLACE_CMD} -e 's|CXXFLAGS = -O2 -Wall||'
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.list ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/woncomm.lst ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|