aboutsummaryrefslogtreecommitdiffstats
path: root/net/hlmaster
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-05 05:44:04 +0800
committeradamw <adamw@FreeBSD.org>2014-07-05 05:44:04 +0800
commit6f4296b0136375c849414ae5c03abbad92011567 (patch)
tree745f97af838071739e1b6070acbf4862962b5405 /net/hlmaster
parent7358548dfc6a0ba78831b72d59132f5b85966e0d (diff)
downloadfreebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.tar.gz
freebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.tar.zst
freebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'net/hlmaster')
-rw-r--r--net/hlmaster/Makefile10
-rw-r--r--net/hlmaster/pkg-plist8
2 files changed, 9 insertions, 9 deletions
diff --git a/net/hlmaster/Makefile b/net/hlmaster/Makefile
index 1f64c083db02..ed39e4bb4ce8 100644
--- a/net/hlmaster/Makefile
+++ b/net/hlmaster/Makefile
@@ -11,18 +11,18 @@ COMMENT= A Half-Life game master server daemon
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:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/examples/*.list ${STAGEDIR}${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/examples/woncomm.lst ${STAGEDIR}${EXAMPLESDIR}
-.endif #NOPORTDOCS
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.list ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/woncomm.lst ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/net/hlmaster/pkg-plist b/net/hlmaster/pkg-plist
index 2d6d84d37df3..756386d68ba7 100644
--- a/net/hlmaster/pkg-plist
+++ b/net/hlmaster/pkg-plist
@@ -4,8 +4,8 @@ man/man1/hlmaster.filter.1.gz
man/man1/hlmaster.gameserver.1.gz
man/man1/hlmaster.list.1.gz
%%PORTDOCS%%share/doc/hlmaster/README
-%%PORTDOCS%%share/examples/hlmaster/filter.list
-%%PORTDOCS%%share/examples/hlmaster/server.list
-%%PORTDOCS%%share/examples/hlmaster/woncomm.lst
-%%PORTDOCS%%@dirrm share/examples/hlmaster
+%%PORTEXAMPLES%%share/examples/hlmaster/filter.list
+%%PORTEXAMPLES%%share/examples/hlmaster/server.list
+%%PORTEXAMPLES%%share/examples/hlmaster/woncomm.lst
+%%PORTEXAMPLES%%@dirrm share/examples/hlmaster
%%PORTDOCS%%@dirrm share/doc/hlmaster