aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2005-04-26 04:55:45 +0800
committerbms <bms@FreeBSD.org>2005-04-26 04:55:45 +0800
commit190adae5eb19fa9facbc77b42523482f1525708e (patch)
treea52f94fc5ca4065d320225085f485def738360bd
parent93fa832cc9fab76438aac76a6dee1b0792fb77c6 (diff)
downloadfreebsd-ports-graphics-190adae5eb19fa9facbc77b42523482f1525708e.tar.gz
freebsd-ports-graphics-190adae5eb19fa9facbc77b42523482f1525708e.tar.zst
freebsd-ports-graphics-190adae5eb19fa9facbc77b42523482f1525708e.zip
Fix install (do not create a file in /, use WRKDIR instead).
Submitted by: Andreas Kohn
-rw-r--r--net/ldapbrowser/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ldapbrowser/Makefile b/net/ldapbrowser/Makefile
index a1a043c5276..98864e41d04 100644
--- a/net/ldapbrowser/Makefile
+++ b/net/ldapbrowser/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= bms@FreeBSD.org
COMMENT= Java/Swing-based LDAP Browser/Editor
RESTRICTED= "No reply from author regarding redistribution licensing"
-BROKEN= "Creates a file in /"
USE_JAVA= 1.4+
NO_BUILD= yes
@@ -27,7 +26,7 @@ do-install:
cd ${WRKSRC} ; tar cf - . | ( cd ${PREFIX}/lib/ldapbrowser ; tar xf - )
${SED} "s#^JH=.*#JH=${JAVA_HOME} ; cd ${PREFIX}/lib/ldapbrowser#" \
< ${PREFIX}/lib/ldapbrowser/lbe.sh \
- > ${TMPDIR}/ldapbrowser
- ${INSTALL_SCRIPT} ${TMPDIR}/ldapbrowser ${PREFIX}/bin
+ > ${WRKDIR}/ldapbrowser
+ ${INSTALL_SCRIPT} ${WRKDIR}/ldapbrowser ${PREFIX}/bin
.include <bsd.port.mk>