summaryrefslogtreecommitdiff
path: root/chat/ctrlproxy
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-17 21:04:41 +0000
committerabs <abs@pkgsrc.org>2009-12-17 21:04:41 +0000
commitfc879bd824d52defe5ab50fb7a10857338514cec (patch)
tree431df23496dbc79023ed4506b0d0b61871092cad /chat/ctrlproxy
parentef24a66cf349129e0fb1406a7e96b7f0d6604297 (diff)
downloadpkgsrc-fc879bd824d52defe5ab50fb7a10857338514cec.tar.gz
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'chat/ctrlproxy')
-rw-r--r--chat/ctrlproxy/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/chat/ctrlproxy/Makefile b/chat/ctrlproxy/Makefile
index 6fc3b0031ec..989e9fa4534 100644
--- a/chat/ctrlproxy/Makefile
+++ b/chat/ctrlproxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/01/04 01:05:46 adrianp Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/17 21:14:20 abs Exp $
#
DISTNAME= ctrlproxy-3.0.8
@@ -20,19 +20,20 @@ CONF_FILES+= ${PREFIX}/share/examples/ctrlproxy/config.default \
${PKG_SYSCONFDIR}/config
PKGCONFIG_OVERRIDE+= ctrlproxy.pc.in
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS+= share/examples/ctrlproxy
.include "options.mk"
post-install:
- cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} install
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ctrlproxy/README
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ctrlproxy
+ cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} DESTDIR=${DESTDIR:Q} ${MAKE} install
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ctrlproxy/README
${INSTALL_DATA} ${WRKSRC}/motd \
- ${PREFIX}/share/examples/ctrlproxy/motd
+ ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/motd
${INSTALL_DATA} ${WRKSRC}/config.default \
- ${PREFIX}/share/examples/ctrlproxy/config.default
+ ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/config.default
${INSTALL_DATA} ${WRKSRC}/config.example \
- ${PREFIX}/share/examples/ctrlproxy/config.example
+ ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/config.example
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"