diff options
author | beat <beat@FreeBSD.org> | 2009-03-21 07:34:25 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2009-03-21 07:34:25 +0800 |
commit | fa89a53aa51cd1ad56f189383806d3f7ec6c2a9d (patch) | |
tree | de3b790012631fdaee3dd9addbd53606fe33ab96 /net/ldapbrowser | |
parent | 6eac7c6d8e8d91c10102f4aef080c9296a93d2cd (diff) | |
download | freebsd-ports-graphics-fa89a53aa51cd1ad56f189383806d3f7ec6c2a9d.tar.gz freebsd-ports-graphics-fa89a53aa51cd1ad56f189383806d3f7ec6c2a9d.tar.zst freebsd-ports-graphics-fa89a53aa51cd1ad56f189383806d3f7ec6c2a9d.zip |
- Currently ldapbrowser always chdirs to ${PREFIX}/lib/ldapbrowser. This directory
is not writable for the average user and ldapbrowser tries to write in the current
directory sometimes. With this change ldapbrowser can been started from every
directory, so the user can decide where to put its config files. [1]
- Remove dead mastersite
- Add additional mirror [2]
- Bump PORTREVISION
PR: ports/132806 [1], ports/132835 [2]
Submitted by: Ronald Klop <ronald AT echteman.nl> (maintainer)
Approved by: miwi (mentor)
Diffstat (limited to 'net/ldapbrowser')
-rw-r--r-- | net/ldapbrowser/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/net/ldapbrowser/Makefile b/net/ldapbrowser/Makefile index ccffbd0bac8..99db38f7e2c 100644 --- a/net/ldapbrowser/Makefile +++ b/net/ldapbrowser/Makefile @@ -7,10 +7,10 @@ PORTNAME= ldapbrowser PORTVERSION= 2.8.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net java -MASTER_SITES= http://www.mcs.anl.gov/~gawor/ldapcommon/bin/ \ - http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}/sources/ +MASTER_SITES= http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}/sources/ \ + http://www.klop.ws/~ronald/software-mirrors/ DISTNAME= Browser282b2 MAINTAINER= ronald@echteman.nl @@ -24,11 +24,14 @@ NO_BUILD= yes NOMAN= defined WRKSRC= ${WRKDIR}/${PORTNAME} +post-extract: + @${REINPLACE_CMD} -i '' -e 's|lbe.jar|${PREFIX}/lib/ldapbrowser/lbe.jar|' ${WRKSRC}/lbe.sh + do-install: ${MKDIR} ${PREFIX}/lib/ldapbrowser cd ${WRKSRC} ; tar cf - . | ( cd ${PREFIX}/lib/ldapbrowser ; tar xf - ) - ${ECHO_CMD} "cd ${PREFIX}/lib/ldapbrowser" > ${PREFIX}/bin/ldapbrowser - ${ECHO_CMD} "sh ${PREFIX}/lib/ldapbrowser/lbe.sh" >> ${PREFIX}/bin/ldapbrowser + ${ECHO_CMD} "#!/bin/sh" > ${PREFIX}/bin/ldapbrowser + ${ECHO_CMD} "${PREFIX}/lib/ldapbrowser/lbe.sh -base ${PREFIX}/lib/ldapbrowser" >> ${PREFIX}/bin/ldapbrowser ${CHMOD} +x ${PREFIX}/bin/ldapbrowser .include <bsd.port.mk> |