aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-06-19 15:12:55 +0800
committerpi <pi@FreeBSD.org>2014-06-19 15:12:55 +0800
commitd9b8676514f9378a316deca50bc1897c44c25d4c (patch)
tree22ff08dd0a939d6d1bd4ed7b572e9d6c16ab0cfa /dns
parent4d4c597c3401bf79046f2ce30e1afa1a7b63aa80 (diff)
downloadfreebsd-ports-gnome-d9b8676514f9378a316deca50bc1897c44c25d4c.tar.gz
freebsd-ports-gnome-d9b8676514f9378a316deca50bc1897c44c25d4c.tar.zst
freebsd-ports-gnome-d9b8676514f9378a316deca50bc1897c44c25d4c.zip
dns/rbldnsd: Stagify
Approved by: portmgr (blanket)
Diffstat (limited to 'dns')
-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