diff options
author | Andrej Zverev <az@FreeBSD.org> | 2007-12-12 08:48:31 +0000 |
---|---|---|
committer | Andrej Zverev <az@FreeBSD.org> | 2007-12-12 08:48:31 +0000 |
commit | 0e9e546b77815c2d61d43ccafe1ff77418657ee6 (patch) | |
tree | 0f268d5f9fbcd89e71316c52abb897cc8fd66aa3 /dns/dnsproxy/Makefile | |
parent | - Fix previous commit (diff) |
- Add rc.d script
- Add tip in pkg-message
- Provide sample config in %%ETCDIR%%
- BUMP port revision
PR: ports/118089
Submitted by: olli hauer <ohauer at gmx.de>
Notes
Notes:
svn path=/head/; revision=203203
Diffstat (limited to 'dns/dnsproxy/Makefile')
-rw-r--r-- | dns/dnsproxy/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dns/dnsproxy/Makefile b/dns/dnsproxy/Makefile index 691bcf91c10a..da116256b8a1 100644 --- a/dns/dnsproxy/Makefile +++ b/dns/dnsproxy/Makefile @@ -7,6 +7,7 @@ PORTNAME= dnsproxy PORTVERSION= 1.15 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://www.wolfermann.org/ @@ -16,8 +17,11 @@ COMMENT= A proxy for DNS queries GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +USE_RC_SUBR= dnsproxy + MAN1= dnsproxy.1 -PLIST_FILES= sbin/dnsproxy +PLIST_FILES= sbin/dnsproxy etc/${PORTNAME}/dnsproxy.conf.sample +SUB_FILES= pkg-message .include <bsd.port.pre.mk> @@ -29,5 +33,10 @@ pre-configure: do-install: @${INSTALL_PROGRAM} ${WRKSRC}/dnsproxy ${PREFIX}/sbin @${INSTALL_MAN} ${WRKSRC}/dnsproxy.1 ${MAN1PREFIX}/man/man1 + @${MKDIR} ${ETCDIR} + @${INSTALL_DATA} -v ${WRKSRC}/dnsproxy.conf ${ETCDIR}/dnsproxy.conf.sample + +post-install: + ${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> |