Fix install (do not create a file in /, use WRKDIR instead).

Submitted by:	Andreas Kohn
This commit is contained in:
Bruce M Simpson 2005-04-25 20:55:45 +00:00
parent 29533ff55f
commit 543314afc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134160

View file

@ -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>