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 | cc6162770e0a91d45866dd760690d21c6db27fee (patch) | |
tree | 41ee23c9647f042e84712f31b4d257d7db8cd51d /databases/yap2lc | |
parent | e87e8011a9f70544994c762db2703e876ecdad08 (diff) | |
download | pkgsrc-cc6162770e0a91d45866dd760690d21c6db27fee.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" |