mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- 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)
This commit is contained in:
parent
28e59a9447
commit
e653d9c9c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230555
@ -7,10 +7,10 @@
|
|||||||
|
|
||||||
PORTNAME= ldapbrowser
|
PORTNAME= ldapbrowser
|
||||||
PORTVERSION= 2.8.2
|
PORTVERSION= 2.8.2
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= net java
|
CATEGORIES= net java
|
||||||
MASTER_SITES= http://www.mcs.anl.gov/~gawor/ldapcommon/bin/ \
|
MASTER_SITES= http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}/sources/ \
|
||||||
http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}/sources/
|
http://www.klop.ws/~ronald/software-mirrors/
|
||||||
DISTNAME= Browser282b2
|
DISTNAME= Browser282b2
|
||||||
|
|
||||||
MAINTAINER= ronald@echteman.nl
|
MAINTAINER= ronald@echteman.nl
|
||||||
@ -24,11 +24,14 @@ NO_BUILD= yes
|
|||||||
NOMAN= defined
|
NOMAN= defined
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
|
post-extract:
|
||||||
|
@${REINPLACE_CMD} -i '' -e 's|lbe.jar|${PREFIX}/lib/ldapbrowser/lbe.jar|' ${WRKSRC}/lbe.sh
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/lib/ldapbrowser
|
${MKDIR} ${PREFIX}/lib/ldapbrowser
|
||||||
cd ${WRKSRC} ; tar cf - . | ( cd ${PREFIX}/lib/ldapbrowser ; tar xf - )
|
cd ${WRKSRC} ; tar cf - . | ( cd ${PREFIX}/lib/ldapbrowser ; tar xf - )
|
||||||
${ECHO_CMD} "cd ${PREFIX}/lib/ldapbrowser" > ${PREFIX}/bin/ldapbrowser
|
${ECHO_CMD} "#!/bin/sh" > ${PREFIX}/bin/ldapbrowser
|
||||||
${ECHO_CMD} "sh ${PREFIX}/lib/ldapbrowser/lbe.sh" >> ${PREFIX}/bin/ldapbrowser
|
${ECHO_CMD} "${PREFIX}/lib/ldapbrowser/lbe.sh -base ${PREFIX}/lib/ldapbrowser" >> ${PREFIX}/bin/ldapbrowser
|
||||||
${CHMOD} +x ${PREFIX}/bin/ldapbrowser
|
${CHMOD} +x ${PREFIX}/bin/ldapbrowser
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user