diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-07-09 15:56:24 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-07-09 15:56:24 +0800 |
commit | b5245b4323a1bce045030e645be35adb731d32ed (patch) | |
tree | 5ed0ff43d9c1d666338a346043979ee2babdebe3 /dns | |
parent | aeb90c739c8045baefc1ed0a0339db75fe97c0ee (diff) | |
download | freebsd-ports-gnome-b5245b4323a1bce045030e645be35adb731d32ed.tar.gz freebsd-ports-gnome-b5245b4323a1bce045030e645be35adb731d32ed.tar.zst freebsd-ports-gnome-b5245b4323a1bce045030e645be35adb731d32ed.zip |
1: Stagify.
2: use @sample, bump version.
Approved by: portmgr@ (blanket)
Diffstat (limited to 'dns')
-rw-r--r-- | dns/mydns-ng/Makefile | 33 | ||||
-rw-r--r-- | dns/mydns-ng/pkg-plist | 9 |
2 files changed, 18 insertions, 24 deletions
diff --git a/dns/mydns-ng/Makefile b/dns/mydns-ng/Makefile index 9f3a84508a83..467c50fda562 100644 --- a/dns/mydns-ng/Makefile +++ b/dns/mydns-ng/Makefile @@ -3,7 +3,7 @@ PORTNAME= mydns-ng PORTVERSION= 1.2.8.31 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns databases MASTER_SITES= SF/${PORTNAME}/mydns/${PORTVERSION} DISTNAME= mydns-${PORTVERSION} @@ -14,29 +14,19 @@ COMMENT= Next Generation DNS Server for sql based DNS services GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc USES= iconv - USE_RC_SUBR= mydns - SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message - INFO= mydns -MAN5= mydns.conf.5 -MAN8= mydns.8 mydnscheck.8 mydnsexport.8 mydnsimport.8 mydnsptrconvert.8 mydns-conf.8 - DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres README TODO -OPTIONS_DEFINE= PGSQL ALIAS SSL NLS +OPTIONS_DEFINE= DOCS PGSQL ALIAS SSL NLS OPTIONS_DEFAULT= ALIAS ALIAS_DESC= Server side aliasas +ALIAS_CONFIGURE_ENABLE= alias -NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MALIAS} -CONFIGURE_ARGS+=--enable-alias -.endif - .if ${PORT_OPTIONS:MSSL} USE_OPENSSL=yes CONFIGURE_ARGS+=--with-openssl \ @@ -68,17 +58,14 @@ PLIST_SUB+= NLS="" .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR}/contrib + @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib .for f in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor - @${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${DOCSDIR}/contrib/ - @${INSTALL_DATA} ${WRKSRC}/contrib/*.pl ${DOCSDIR}/contrib/ - @${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${DOCSDIR}/contrib/ - @${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/ -.endif - @${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample - @${CAT} ${PKGMESSAGE} + @${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${STAGEDIR}${DOCSDIR}/contrib/ + @${INSTALL_DATA} ${WRKSRC}/contrib/*.pl ${STAGEDIR}${DOCSDIR}/contrib/ + @${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${STAGEDIR}${DOCSDIR}/contrib/ + @${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/contrib/ + @${STAGEDIR}${PREFIX}/sbin/mydns --dump-config > ${STAGEDIR}${PREFIX}/etc/mydns.conf.sample .include <bsd.port.mk> diff --git a/dns/mydns-ng/pkg-plist b/dns/mydns-ng/pkg-plist index f549b686419e..ec91ad1bd710 100644 --- a/dns/mydns-ng/pkg-plist +++ b/dns/mydns-ng/pkg-plist @@ -3,7 +3,14 @@ bin/mydnscheck bin/mydnsexport bin/mydnsimport bin/mydnsptrconvert -etc/mydns.conf.sample +@sample etc/mydns.conf.sample +man/man5/mydns.conf.5.gz +man/man8/mydns.8.gz +man/man8/mydnscheck.8.gz +man/man8/mydnsexport.8.gz +man/man8/mydnsimport.8.gz +man/man8/mydnsptrconvert.8.gz +man/man8/mydns-conf.8.gz sbin/mydns %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING |