diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 15:21:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 15:21:07 +0000 |
commit | cde46de2fe467cc3aaa44d1c8b14237f3d294a19 (patch) | |
tree | 41ee23c9647f042e84712f31b4d257d7db8cd51d /databases/yap2lc | |
parent | 540e07e23fbd08a552a65b23c7b4c228fdba0687 (diff) | |
download | pkgsrc-cde46de2fe467cc3aaa44d1c8b14237f3d294a19.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'databases/yap2lc')
-rw-r--r-- | databases/yap2lc/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/yap2lc/Makefile b/databases/yap2lc/Makefile index 0a9149f08cf..b803becf7f0 100644 --- a/databases/yap2lc/Makefile +++ b/databases/yap2lc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/01/12 11:36:31 adam Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 15:21:07 jlam Exp $ DISTNAME= yap2lc-0.5.9 PKGREVISION= 1 @@ -9,17 +9,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/yap2lc/ COMMENT= Yet Another Passwd 2 LDIF Converter +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES INSTALLATION_DIRS= bin share/doc/yap2lc share/examples/yap2lc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/yap2lc ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/yap2lc + ${INSTALL_PROGRAM} ${WRKSRC}/yap2lc ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/yap2lc ${INSTALL_DATA} ${WRKSRC}/samples/ldif.template \ - ${PREFIX}/share/examples/yap2lc + ${DESTDIR}${PREFIX}/share/examples/yap2lc ${INSTALL_DATA} ${WRKSRC}/samples/yap2lc.conf \ - ${PREFIX}/share/examples/yap2lc + ${DESTDIR}${PREFIX}/share/examples/yap2lc .include "../../databases/db4/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |