summaryrefslogtreecommitdiff
path: root/databases/ldapvi
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2008-01-04 12:18:27 +0000
committerghen <ghen@pkgsrc.org>2008-01-04 12:18:27 +0000
commit3240af45666a014ae4b84746c19ebdf442341534 (patch)
tree569b1f9bfe1a8de8c5c9faf85693db463d42f766 /databases/ldapvi
parent17c20eeea4daffc3948a1087a749e35d6d74285f (diff)
downloadpkgsrc-3240af45666a014ae4b84746c19ebdf442341534.tar.gz
Full DESTDIR support.
Diffstat (limited to 'databases/ldapvi')
-rw-r--r--databases/ldapvi/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/ldapvi/Makefile b/databases/ldapvi/Makefile
index 01abd00cdbd..8a7c7579577 100644
--- a/databases/ldapvi/Makefile
+++ b/databases/ldapvi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/11/07 07:47:43 ghen Exp $
+# $NetBSD: Makefile,v 1.3 2008/01/04 12:24:41 ghen Exp $
DISTNAME= ldapvi-1.7
CATEGORIES= databases
@@ -8,6 +8,8 @@ MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://www.lichteblau.com/ldapvi/
COMMENT= Interactive LDAP client
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_NCURSES= yes
USE_GNU_READLINE= yes
@@ -15,11 +17,13 @@ USE_GNU_READLINE= yes
USE_TOOLS+= gmake pkg-config
MAKE_FILE= GNUmakefile
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
.include "options.mk"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ldapvi ${PREFIX}/bin/
- ${INSTALL_DATA} ${WRKSRC}/ldapvi.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/ldapvi ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/ldapvi.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"