diff options
author | Alex Dupre <ale@FreeBSD.org> | 2005-03-08 16:27:45 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2005-03-08 16:27:45 +0000 |
commit | 72802caf38da73c3c99a37c0b7f586a0ba742128 (patch) | |
tree | 616049ce87473ba092fc259295fbca05db1c73c3 /dns/mydns/Makefile | |
parent | e057bad313c54711d8d921be00baa7f74371fb93 (diff) |
Notes
Diffstat (limited to 'dns/mydns/Makefile')
-rw-r--r-- | dns/mydns/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dns/mydns/Makefile b/dns/mydns/Makefile index bc84bed3aa68..8191d0cf1c05 100644 --- a/dns/mydns/Makefile +++ b/dns/mydns/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mydns -PORTVERSION= 0.11.0 +PORTVERSION= 1.0.0 CATEGORIES= dns databases MASTER_SITES= http://mydns.bboy.net/download/ @@ -16,9 +16,14 @@ COMMENT= DNS server designed to utilize the MySQL database GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc USE_ICONV= yes -USE_LIBTOOL_VER= 13 +USE_LIBTOOL_VER= 15 USE_BZIP2= yes +USE_RC_SUBR= mydns.sh + +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 @@ -68,8 +73,6 @@ pre-fetch: @${ECHO} "" post-install: - @${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh - @${INSTALL_SCRIPT} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample @install-info ${PREFIX}/info/mydns.info ${PREFIX}/info/dir .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}/contrib @@ -81,6 +84,6 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/ .endif @${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample - @${SED} -e 's,%%%PREFIX%%%,${PREFIX},g' ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> |