aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-17 21:32:26 +0800
committerbapt <bapt@FreeBSD.org>2014-02-17 21:32:26 +0800
commit51b7954f431170024acf91c18074ed8b626c960b (patch)
treeb2fde30044d82cb233b7da68aedc216441112a68
parent798cb343ff4fc41e3557a803b528b18c58ff1ee0 (diff)
downloadfreebsd-ports-gnome-51b7954f431170024acf91c18074ed8b626c960b.tar.gz
freebsd-ports-gnome-51b7954f431170024acf91c18074ed8b626c960b.tar.zst
freebsd-ports-gnome-51b7954f431170024acf91c18074ed8b626c960b.zip
Support stage
-rw-r--r--dns/dnsproxy/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/dns/dnsproxy/Makefile b/dns/dnsproxy/Makefile
index d2826c2c428c..fd6aa73dfc43 100644
--- a/dns/dnsproxy/Makefile
+++ b/dns/dnsproxy/Makefile
@@ -15,22 +15,16 @@ GNU_CONFIGURE= yes
USE_RC_SUBR= dnsproxy
-MAN1= dnsproxy.1
-PLIST_FILES= sbin/dnsproxy etc/${PORTNAME}/dnsproxy.conf.sample
+PLIST_FILES= sbin/dnsproxy etc/${PORTNAME}/dnsproxy.conf.sample \
+ man/man1/dnsproxy.1.gz
SUB_FILES= pkg-message
PLIST_DIRS= %%ETCDIR%%
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/dnsproxy ${PREFIX}/sbin
- @${INSTALL_MAN} ${WRKSRC}/dnsproxy.1 ${MAN1PREFIX}/man/man1
- @${MKDIR} ${ETCDIR}
- @${INSTALL_DATA} ${WRKSRC}/dnsproxy.conf ${ETCDIR}/dnsproxy.conf.sample
-
-post-install:
- ${CAT} ${PKGMESSAGE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/dnsproxy ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/dnsproxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${ETCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/dnsproxy.conf ${STAGEDIR}${ETCDIR}/dnsproxy.conf.sample
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>