Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 15:43:44 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353839 - head/dns/mydns
Message-ID:  <201405121543.s4CFhixP002592@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Mon May 12 15:43:44 2014
New Revision: 353839
URL: http://svnweb.freebsd.org/changeset/ports/353839
QAT: https://qat.redports.org/buildarchive/r353839/

Log:
  Stagify.

Modified:
  head/dns/mydns/Makefile
  head/dns/mydns/pkg-plist

Modified: head/dns/mydns/Makefile
==============================================================================
--- head/dns/mydns/Makefile	Mon May 12 15:42:36 2014	(r353838)
+++ head/dns/mydns/Makefile	Mon May 12 15:43:44 2014	(r353839)
@@ -10,10 +10,13 @@ MASTER_SITES=	http://mydns.bboy.net/down
 MAINTAINER=	ale@FreeBSD.org
 COMMENT=	DNS server designed to utilize the MySQL database
 
+LICENSE=	GPLv2
+
+OPTIONS_DEFINE=	ALIAS OPENSSL PGSQL NLS DOCS NLS
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-confdir=${PREFIX}/etc
-USES=		iconv
-USE_BZIP2=	yes
+USES=		tar:bzip2 iconv
 
 USE_RC_SUBR=	mydns
 
@@ -21,15 +24,9 @@ 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
 
-NO_STAGE=	yes
-
-OPTIONS_DEFINE=	DOCS NLS
-
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MALIAS}
@@ -65,27 +62,17 @@ CONFIGURE_ARGS+=--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
-pre-fetch:
-	@${ECHO} ""
-	@${ECHO} "You may use the following build options:"
-	@${ECHO} ""
-	@${ECHO} "      WITH_PGSQL=yes          Build with PostgreSQL support"
-	@${ECHO} "      WITH_ALIAS=yes          Enable server side aliases"
-	@${ECHO} "      WITH_OPENSSL=yes        Enable OpenSSL (needed if MySQL is linked with OpenSSL)"
-	@${ECHO} ""
-
 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/
+	@${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/
 .endif
-	@${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample
-	@${CAT} ${PKGMESSAGE}
+	@${STAGEDIR}${PREFIX}/sbin/mydns --dump-config > ${STAGEDIR}${PREFIX}/etc/mydns.conf.sample
 
 .include <bsd.port.mk>

Modified: head/dns/mydns/pkg-plist
==============================================================================
--- head/dns/mydns/pkg-plist	Mon May 12 15:42:36 2014	(r353838)
+++ head/dns/mydns/pkg-plist	Mon May 12 15:43:44 2014	(r353839)
@@ -4,6 +4,13 @@ bin/mydnsexport
 bin/mydnsimport
 bin/mydnsptrconvert
 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
 %%NLS%%share/locale/es/LC_MESSAGES/mydns.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/mydns.mo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405121543.s4CFhixP002592>