svn commit: r361343 - head/dns/mydns-ng
Vanilla I. Shu
vanilla at FreeBSD.org
Wed Jul 9 07:56:25 UTC 2014
Author: vanilla
Date: Wed Jul 9 07:56:24 2014
New Revision: 361343
URL: http://svnweb.freebsd.org/changeset/ports/361343
QAT: https://qat.redports.org/buildarchive/r361343/
Log:
1: Stagify.
2: use @sample, bump version.
Approved by: portmgr@ (blanket)
Modified:
head/dns/mydns-ng/Makefile
head/dns/mydns-ng/pkg-plist
Modified: head/dns/mydns-ng/Makefile
==============================================================================
--- head/dns/mydns-ng/Makefile Wed Jul 9 07:43:23 2014 (r361342)
+++ head/dns/mydns-ng/Makefile Wed Jul 9 07:56:24 2014 (r361343)
@@ -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
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>
Modified: head/dns/mydns-ng/pkg-plist
==============================================================================
--- head/dns/mydns-ng/pkg-plist Wed Jul 9 07:43:23 2014 (r361342)
+++ head/dns/mydns-ng/pkg-plist Wed Jul 9 07:56:24 2014 (r361343)
@@ -3,7 +3,14 @@ bin/mydnscheck
bin/mydnsexport
bin/mydnsimport
bin/mydnsptrconvert
-etc/mydns.conf.sample
+ at 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
More information about the svn-ports-all
mailing list