diff options
author | Alex Dupre <ale@FreeBSD.org> | 2014-05-12 15:43:44 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2014-05-12 15:43:44 +0000 |
commit | ae039cc57f2b8623e0bbcb7959c18937dc0aa51e (patch) | |
tree | d233facbe45a38813c8e01fc156d113b76536506 /dns | |
parent | - Convert to USES=libtool (diff) |
Stagify.
Notes
Notes:
svn path=/head/; revision=353839
Diffstat (limited to 'dns')
-rw-r--r-- | dns/mydns/Makefile | 37 | ||||
-rw-r--r-- | dns/mydns/pkg-plist | 7 |
2 files changed, 19 insertions, 25 deletions
diff --git a/dns/mydns/Makefile b/dns/mydns/Makefile index 3a892e63ec64..28912de2d393 100644 --- a/dns/mydns/Makefile +++ b/dns/mydns/Makefile @@ -10,10 +10,13 @@ MASTER_SITES= http://mydns.bboy.net/download/ 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> diff --git a/dns/mydns/pkg-plist b/dns/mydns/pkg-plist index fb79abe9eddf..625fc4b98902 100644 --- a/dns/mydns/pkg-plist +++ b/dns/mydns/pkg-plist @@ -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 |