diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 17:17:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 17:17:11 +0000 |
commit | 967566c0a21243085f6c363c38b878fba0cef169 (patch) | |
tree | 787cb86bf7aa7cc13e05f57bc3441143494aadd1 /databases | |
parent | 13e7569fd53d44922a34a3f49a54dcf62a446f27 (diff) | |
download | pkgsrc-967566c0a21243085f6c363c38b878fba0cef169.tar.gz |
DESTDIR support
Diffstat (limited to 'databases')
-rw-r--r-- | databases/luma/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/databases/luma/Makefile b/databases/luma/Makefile index ae492cfd1a4..c5255f61890 100644 --- a/databases/luma/Makefile +++ b/databases/luma/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2010/01/18 09:58:43 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2010/01/29 17:17:11 joerg Exp $ DISTNAME= luma-2.3 PKGREVISION= 2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://luma.sourceforge.net/ COMMENT= LDAP browser +PKG_DESTDIR_SUPPORT= user-destdir + SUBST_CLASSES+= luma SUBST_STAGE.luma= pre-configure SUBST_FILES.luma= bin/luma @@ -20,8 +22,8 @@ do-build: (cd ${WRKSRC} && ${PYTHONBIN} install.py --compile-only) do-install: - (cd ${WRKSRC} && ${PYTHONBIN} install.py --prefix=${PREFIX}) - rm -f ${PREFIX}/bin/luma.orig + rm ${WRKSRC}/bin/luma.orig + cd ${WRKSRC} && ${PYTHONBIN} install.py --prefix=${DESTDIR}${PREFIX} .include "../../databases/py-ldap/buildlink3.mk" .include "../../lang/python/application.mk" |