aboutsummaryrefslogtreecommitdiffstats
path: root/net/hlmaster
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-01-01 17:01:04 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-01-01 17:01:04 +0800
commit22f0a5c13218ae30ba57e75938ad67b188a3afbf (patch)
treeeeb223d3f942a38f21efc4f33fe1134e8b49f123 /net/hlmaster
parent4f852f20e9be776964e4a04c28b1c7f71ae068bd (diff)
downloadfreebsd-ports-gnome-22f0a5c13218ae30ba57e75938ad67b188a3afbf.tar.gz
freebsd-ports-gnome-22f0a5c13218ae30ba57e75938ad67b188a3afbf.tar.zst
freebsd-ports-gnome-22f0a5c13218ae30ba57e75938ad67b188a3afbf.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'net/hlmaster')
-rw-r--r--net/hlmaster/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/hlmaster/Makefile b/net/hlmaster/Makefile
index 224448d36aa3..fa7b487f828a 100644
--- a/net/hlmaster/Makefile
+++ b/net/hlmaster/Makefile
@@ -9,7 +9,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Half-Life game master server daemon
-USES= dos2unix
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= dos2unix
DOS2UNIX_GLOB= *.cpp
GNU_CONFIGURE= yes
@@ -20,9 +23,11 @@ pre-patch:
@${FIND} ${WRKSRC} -name Makefile.in | \
${XARGS} ${REINPLACE_CMD} -e 's|CXXFLAGS = -O2 -Wall||'
-post-install:
+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}