diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | 4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/monotone-server | |
parent | 3a62565eb9471348d02d74145e302b5675905a43 (diff) | |
download | pkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/monotone-server')
-rw-r--r-- | devel/monotone-server/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/devel/monotone-server/Makefile b/devel/monotone-server/Makefile index 76b8f1b5a88..d628f16f673 100644 --- a/devel/monotone-server/Makefile +++ b/devel/monotone-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2008/02/27 14:19:30 jmmv Exp $ +# $NetBSD: Makefile,v 1.38 2008/03/03 17:45:36 jlam Exp $ # DISTNAME= monotone-server-0.39 @@ -12,6 +12,8 @@ COMMENT= Simplifies the configuration of a dedicated Monotone server DEPENDS+= monotone>=0.39:../../devel/monotone +PKG_DESTDIR_SUPPORT= user-destdir + EXTRACT_ONLY= # empty NO_BUILD= yes NO_CHECKSUM= yes @@ -70,12 +72,12 @@ do-extract: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/monotone-server-init.sh \ - ${PREFIX}/sbin/monotone-server-init - ${INSTALL_DATA_DIR} ${EXAMPLEDIR} - ${INSTALL_DATA} ${WRKSRC}/hooks.conf ${EXAMPLEDIR}/hooks.conf + ${DESTDIR}${PREFIX}/sbin/monotone-server-init + ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLEDIR} + ${INSTALL_DATA} ${WRKSRC}/hooks.conf ${DESTDIR}${EXAMPLEDIR}/hooks.conf ${INSTALL_DATA} ${WRKSRC}/read-permissions \ - ${EXAMPLEDIR}/read-permissions + ${DESTDIR}${EXAMPLEDIR}/read-permissions ${INSTALL_DATA} ${WRKSRC}/write-permissions \ - ${EXAMPLEDIR}/write-permissions + ${DESTDIR}${EXAMPLEDIR}/write-permissions .include "../../mk/bsd.pkg.mk" |