diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-03 19:24:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-03 19:24:26 +0000 |
commit | 3d02c26ce998362890c81836acdbd853f0f42341 (patch) | |
tree | 5c05cdf8194143f3ff130e699343a24f92901df8 /devel/py-subversion | |
parent | 393343fc341ca13f32be1ad0dc63ebb84d2f4da5 (diff) | |
download | pkgsrc-3d02c26ce998362890c81836acdbd853f0f42341.tar.gz |
DESTDIR support.
Diffstat (limited to 'devel/py-subversion')
-rw-r--r-- | devel/py-subversion/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/py-subversion/Makefile b/devel/py-subversion/Makefile index 1a7845e9810..22a596f2675 100644 --- a/devel/py-subversion/Makefile +++ b/devel/py-subversion/Makefile @@ -1,8 +1,10 @@ -# $NetBSD: Makefile,v 1.23 2006/07/07 15:49:32 jlam Exp $ +# $NetBSD: Makefile,v 1.24 2006/11/03 19:34:11 joerg Exp $ PKGNAME= ${PYPKGPREFIX}-subversion-${SVNVER} COMMENT= Python bindings and tools for Subversion +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../devel/subversion/Makefile.common" SHLIBTOOL_OVERRIDE= # empty @@ -22,18 +24,19 @@ MAKE_FLAGS+= swig_pydir=${LOCALBASE}/${PYSITELIB}/libsvn \ TEST_TARGET= all check check-swig-py +INSTALLATION_DIRS= ${SVNEXAMPLES}/python ${SVNEXAMPLES}/hook-scripts + post-patch: ${RM} ${WRKSRC}/build-outputs.mk ${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}/build-outputs.mk post-install: - ${INSTALL_DATA_DIR} ${SVNEXAMPLES}/python - ${INSTALL_DATA} ${WRKSRC}/tools/examples/*.py ${SVNEXAMPLES}/python + ${INSTALL_DATA} ${WRKSRC}/tools/examples/*.py ${DESTDIR}${SVNEXAMPLES}/python ${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/mailer.py \ - ${SVNEXAMPLES}/hook-scripts + ${DESTDIR}${SVNEXAMPLES}/hook-scripts ${INSTALL_DATA} \ ${WRKSRC}/tools/hook-scripts/mailer/mailer.conf.example \ - ${SVNEXAMPLES}/hook-scripts + ${DESTDIR}${SVNEXAMPLES}/hook-scripts .include "../../devel/subversion-base/buildlink3.mk" .include "../../lang/python/application.mk" |