aboutsummaryrefslogtreecommitdiff
path: root/net/hlmaster
diff options
context:
space:
mode:
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