Date: Tue, 3 Sep 2013 14:21:09 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326153 - head/dns/rbldnsd Message-ID: <201309031421.r83EL9WA071131@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Tue Sep 3 14:21:09 2013 New Revision: 326153 URL: http://svnweb.freebsd.org/changeset/ports/326153 Log: Further cleanup Approved by: crees (mentor) Modified: head/dns/rbldnsd/Makefile head/dns/rbldnsd/pkg-plist Modified: head/dns/rbldnsd/Makefile ============================================================================== --- head/dns/rbldnsd/Makefile Tue Sep 3 14:16:20 2013 (r326152) +++ head/dns/rbldnsd/Makefile Tue Sep 3 14:21:09 2013 (r326153) @@ -12,39 +12,38 @@ COMMENT= Small and fast DNS daemon espec RBLDNSUSER= rbldns RBLDNSGROUP= ${RBLDNSUSER} -ROOTDIR= ${PREFIX}/etc/rbldnsd/ +ROOTDIR= ${PREFIX}/etc/rbldnsd -MAN8= rbldnsd.8 +MAN8= rbldnsd.8 HAS_CONFIGURE= yes USE_RC_SUBR= rbldnsd -USERS= rbldns -GROUPS= ${USERS} +USERS= rbldns +GROUPS= ${USERS} PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> do-install: - @if [ ! -d ${ROOTDIR} ]; then \ - ${MKDIR} ${ROOTDIR}; \ - ${CHMOD} 710 ${ROOTDIR}; \ - ${CHOWN} ${RBLDNSUSER}:${RBLDNSGROUP} ${ROOTDIR}; \ - fi - @${INSTALL_DATA} -o ${RBLDNSUSER} -g ${RBLDNSGROUP} -m 640 \ - ${FILESDIR}/example ${PREFIX}/etc/rbldnsd/ - @${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin/ - @${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${PREFIX}/man/man8/ + if [ ! -d ${ROOTDIR} ]; then \ + ${INSTALL} -d -o ${RBLDNSUSER} -g ${RBLDNSGROUP} \ + -m 710 ${ROOTDIR}; \ + fi + ${INSTALL_DATA} -o ${RBLDNSUSER} -g ${RBLDNSGROUP} -m 640 \ + ${FILESDIR}/example ${ROOTDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${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 ${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} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/dns/rbldnsd/pkg-plist ============================================================================== --- head/dns/rbldnsd/pkg-plist Tue Sep 3 14:16:20 2013 (r326152) +++ head/dns/rbldnsd/pkg-plist Tue Sep 3 14:21:09 2013 (r326153) @@ -9,4 +9,4 @@ etc/rbldnsd/example %%PORTDOCS%%%%DOCSDIR%%/rbldnsd.init %%PORTDOCS%%%%DOCSDIR%%/rbldnsd.spec %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrmtry etc/rbldnsd/ +@dirrmtry etc/rbldnsd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309031421.r83EL9WA071131>