aboutsummaryrefslogtreecommitdiff
path: root/dns/rbldnsd
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2014-06-19 07:12:55 +0000
committerKurt Jaeger <pi@FreeBSD.org>2014-06-19 07:12:55 +0000
commit779e11504a382a338f5baec3700a5ece63ba0b50 (patch)
tree22ff08dd0a939d6d1bd4ed7b572e9d6c16ab0cfa /dns/rbldnsd
parentf09318273af567bf8983938363c8bd316ba27645 (diff)
downloadports-779e11504a382a338f5baec3700a5ece63ba0b50.tar.gz
ports-779e11504a382a338f5baec3700a5ece63ba0b50.zip
Notes
Diffstat (limited to 'dns/rbldnsd')
-rw-r--r--dns/rbldnsd/Makefile39
-rw-r--r--dns/rbldnsd/pkg-plist3
2 files changed, 20 insertions, 22 deletions
diff --git a/dns/rbldnsd/Makefile b/dns/rbldnsd/Makefile
index 3bf484184054..2eedeb447044 100644
--- a/dns/rbldnsd/Makefile
+++ b/dns/rbldnsd/Makefile
@@ -10,44 +10,39 @@ MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/ \
MAINTAINER= alexey@renatasystems.org
COMMENT= Small and fast DNS daemon especially for DNSBL zones
-RBLDNSUSER= rbldns
-RBLDNSGROUP= ${RBLDNSUSER}
-ROOTDIR= ${PREFIX}/etc/rbldnsd
+LICENSE= GPLv2
-MAN8= rbldnsd.8
+ROOTDIR= ${STAGEDIR}${PREFIX}/etc/rbldnsd
HAS_CONFIGURE= yes
USE_RC_SUBR= rbldnsd
-USERS= rbldns
-GROUPS= ${USERS}
+USERS= rbldns
+GROUPS= ${USERS}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
if [ ! -d ${ROOTDIR} ]; then \
- ${INSTALL} -d -o ${RBLDNSUSER} -g ${RBLDNSGROUP} \
- -m 710 ${ROOTDIR}; \
+ ${INSTALL} -d -m 710 ${ROOTDIR}; \
fi
- ${INSTALL_DATA} -o ${RBLDNSUSER} -g ${RBLDNSGROUP} -m 640 \
+ ${INSTALL_DATA} -m 640 \
${FILESDIR}/example ${ROOTDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MAN8PREFIX}/man/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${STAGEDIR}${PREFIX}/man/man8
.if ${PORT_OPTIONS:MDOCS}
- ${INSTALL} -d ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGES-0.81 ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/copyright ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.default ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.init ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/rbldnsd.spec ${DOCSDIR}
+ ${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES-0.81 ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/debian/copyright ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.default ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.init ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/rbldnsd.spec ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/dns/rbldnsd/pkg-plist b/dns/rbldnsd/pkg-plist
index 29dc28650ed2..2fcecdb8cbc2 100644
--- a/dns/rbldnsd/pkg-plist
+++ b/dns/rbldnsd/pkg-plist
@@ -1,5 +1,8 @@
+@owner rbldns
+@group rbldns
sbin/rbldnsd
etc/rbldnsd/example
+man/man8/rbldnsd.8.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES-0.81
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/TODO