1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/net/hlmaster/Makefile
Dmitry Marakasov 6bed506e65 - Add LICENSE
- Switch to options helpers
2017-01-01 09:01:04 +00:00

36 lines
894 B
Makefile

# 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>