aboutsummaryrefslogtreecommitdiff
path: root/dns/dnrd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/dnrd/Makefile')
-rw-r--r--dns/dnrd/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile
index 7048dc1686b6..5b0b2c8b6adc 100644
--- a/dns/dnrd/Makefile
+++ b/dns/dnrd/Makefile
@@ -10,24 +10,26 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Proxy DNS daemon
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
+USERS= dnrd
+GROUPS= dnrd
+
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
PORTEXAMPLES= README-cache README-cygwin README-master TODO master.sample
OPTIONS_DEFINE= TCP MASTER DEBUG RANDOM DOCS EXAMPLES
OPTIONS_DEFAULT=MASTER
+
TCP_DESC= TCP support
MASTER_DESC= Master file support
RANDOM_DESC= Random source port
-USERS= dnrd
-GROUPS= dnrd
-
TCP_CONFIGURE_ENABLE= tcp
MASTER_CONFIGURE_ENABLE= master
DEBUG_CONFIGURE_ENABLE= enable-debug
@@ -38,8 +40,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dnrd ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/doc/dnrd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/doc/master.sample ${STAGEDIR}${ETCDIR}/
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${EXAMPLESDIR}/