aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-15 22:46:01 +0800
committermiwi <miwi@FreeBSD.org>2006-08-15 22:46:01 +0800
commit98e49cd7a2b6036beff8afa2aa70caa54d544b05 (patch)
tree2d1fb04e5942244dc89b546b9bbf00ecd21f664d
parent5eb099c1690f8a3554335191a9bdd1511b9e6783 (diff)
downloadfreebsd-ports-gnome-98e49cd7a2b6036beff8afa2aa70caa54d544b05.tar.gz
freebsd-ports-gnome-98e49cd7a2b6036beff8afa2aa70caa54d544b05.tar.zst
freebsd-ports-gnome-98e49cd7a2b6036beff8afa2aa70caa54d544b05.zip
- Respect DESTDIR
PR: ports/101897 Submitted by: chinsan <chinsan.tw(at)gmail.com> Approved by: krion (mentor)
-rw-r--r--net/ldapdiff/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ldapdiff/Makefile b/net/ldapdiff/Makefile
index 6bcd4e6bf596..42246bfb9de0 100644
--- a/net/ldapdiff/Makefile
+++ b/net/ldapdiff/Makefile
@@ -17,18 +17,18 @@ COMMENT= A utility for patching LDAP directories using LDIF files
USE_ICONV= yes
USE_OPENLDAP= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --with-ldap-dir=${PREFIX} \
- --with-iconv-dir=${PREFIX}
+CONFIGURE_ARGS= --prefix=${LOCALBASE} \
+ --with-ldap-dir=${LOCALBASE} \
+ --with-iconv-dir=${LOCALBASE}
SAMPLES= addentry webtomware_without_jpeg.user.ldif \
webtomware.init.ldif webtomware.user.ldif
MAN1= ldapdiff.1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${TARGETDIR}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/ldapdiff.conf \
- ${PREFIX}/etc/ldapdiff.conf.sample
+ ${TARGETDIR}/etc/ldapdiff.conf.sample
@${MKDIR} ${DATADIR}/samples
.for i in ${SAMPLES}
${INSTALL_DATA} ${WRKSRC}/samples/${i} ${DATADIR}/samples