Date: Fri, 11 Jul 2014 18:11:18 +0000 (UTC) From: Yen-Ming Lee <leeym@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361575 - in head/dns/dnrd: . files Message-ID: <201407111811.s6BIBILc028560@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: leeym Date: Fri Jul 11 18:11:18 2014 New Revision: 361575 URL: http://svnweb.freebsd.org/changeset/ports/361575 QAT: https://qat.redports.org/buildarchive/r361575/ Log: - support stage Modified: head/dns/dnrd/Makefile head/dns/dnrd/files/pkg-install.in head/dns/dnrd/pkg-plist Modified: head/dns/dnrd/Makefile ============================================================================== --- head/dns/dnrd/Makefile Fri Jul 11 18:09:01 2014 (r361574) +++ head/dns/dnrd/Makefile Fri Jul 11 18:11:18 2014 (r361575) @@ -1,25 +1,25 @@ # Created by: George Reid <greid@ukug.uk.freebsd.org> # $FreeBSD$ -PORTNAME= dnrd -PORTVERSION= 2.20.3 -CATEGORIES= dns -MASTER_SITES= SF +PORTNAME= dnrd +PORTVERSION= 2.20.3 +CATEGORIES= dns +MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org -COMMENT= Proxy DNS daemon +COMMENT= Proxy DNS daemon + +LICENSE= GPLv2 USES= gmake -USE_RC_SUBR= ${PORTNAME} -GNU_CONFIGURE= yes +USE_RC_SUBR= ${PORTNAME} +GNU_CONFIGURE= yes -MAN8= dnrd.8 -DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README -EXAMPLES= README-cache README-cygwin README-master TODO \ - master.sample +PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README +PORTEXAMPLES= README-cache README-cygwin README-master TODO master.sample -OPTIONS_DEFINE= TCP MASTER DEBUG RANDOM DOCS -OPTIONS_DEFAULT= MASTER +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 @@ -31,7 +31,6 @@ DNRD_DIR?= ${ETCDIR} SUB_FILES= pkg-install SUB_LIST+= DNRD_DIR=${DNRD_DIR} -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MTCP} @@ -52,15 +51,17 @@ CONFIGURE_ARGS+= --enable-random-src do-install: @${ECHO} "==> Creating dnrd directory" - @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${INSTALL_PROGRAM} ${WRKSRC}/src/dnrd ${PREFIX}/sbin/ - @${INSTALL_MAN} ${WRKSRC}/doc/dnrd.8 ${MAN8PREFIX}/man/man8/ - @${INSTALL_DATA} ${WRKSRC}/doc/master.sample ${ETCDIR}/ + @${SETENV} DESTDIR="${STAGEDIR}" PKG_PREFIX="${STAGEDIR}${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-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}/ .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/doc/,} ${EXAMPLESDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${EXAMPLESDIR}/ .endif .include <bsd.port.mk> Modified: head/dns/dnrd/files/pkg-install.in ============================================================================== --- head/dns/dnrd/files/pkg-install.in Fri Jul 11 18:09:01 2014 (r361574) +++ head/dns/dnrd/files/pkg-install.in Fri Jul 11 18:11:18 2014 (r361575) @@ -19,7 +19,7 @@ PRE-INSTALL) ;; POST-INSTALL) if [ ! -d ${DNRD_DIR} ]; then - ${MKDIR} ${DNRD_DIR} + ${MKDIR} ${DESTDIR}${DNRD_DIR} fi ;; esac Modified: head/dns/dnrd/pkg-plist ============================================================================== --- head/dns/dnrd/pkg-plist Fri Jul 11 18:09:01 2014 (r361574) +++ head/dns/dnrd/pkg-plist Fri Jul 11 18:11:18 2014 (r361575) @@ -1,18 +1,6 @@ sbin/dnrd %%ETCDIR%%/master.sample -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%EXAMPLESDIR%%/README-cache -%%PORTDOCS%%%%EXAMPLESDIR%%/README-cygwin -%%PORTDOCS%%%%EXAMPLESDIR%%/README-master -%%PORTDOCS%%%%EXAMPLESDIR%%/TODO -%%PORTDOCS%%%%EXAMPLESDIR%%/master.sample -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +man/man8/dnrd.8.gz @dirrm %%ETCDIR%% @unexec echo "" @unexec echo "If you are permanently removing dnrd, remove user/group 'dnrd'" | /usr/bin/fmt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407111811.s6BIBILc028560>