summaryrefslogtreecommitdiff
path: root/databases/yap2lc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/yap2lc/Makefile')
-rw-r--r--databases/yap2lc/Makefile12
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"