diff options
author | danfe <danfe@FreeBSD.org> | 2013-08-31 18:27:30 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-08-31 18:27:30 +0800 |
commit | f6d2ae1f0abf16dc26ad15ae9e12238aa88bb364 (patch) | |
tree | ac43accf8b5f88a7d1e69c9c28ca482379c27286 /net/ldapbrowser | |
parent | ccda42457f7f41194893dcfb846977a3657b566c (diff) | |
download | freebsd-ports-gnome-f6d2ae1f0abf16dc26ad15ae9e12238aa88bb364.tar.gz freebsd-ports-gnome-f6d2ae1f0abf16dc26ad15ae9e12238aa88bb364.tar.zst freebsd-ports-gnome-f6d2ae1f0abf16dc26ad15ae9e12238aa88bb364.zip |
- Make it fetchable again by providing two backup sites for the time being
- While here: touch COMMENT, wrap overly long lines, do not hardcode tar(1)
program name and use -C switch, utilize REINPLACE_ARGS, remove old-school
attribution from the port description and now-defunct WWW address line
Diffstat (limited to 'net/ldapbrowser')
-rw-r--r-- | net/ldapbrowser/Makefile | 18 | ||||
-rw-r--r-- | net/ldapbrowser/pkg-descr | 7 |
2 files changed, 9 insertions, 16 deletions
diff --git a/net/ldapbrowser/Makefile b/net/ldapbrowser/Makefile index d32132565a00..8b27da4bec48 100644 --- a/net/ldapbrowser/Makefile +++ b/net/ldapbrowser/Makefile @@ -1,18 +1,16 @@ -# Created by: Bruce M. Simpson +# Created by: Bruce M. Simpson <bms@FreeBSD.org> # $FreeBSD$ PORTNAME= ldapbrowser PORTVERSION= 2.8.2 PORTREVISION= 3 CATEGORIES= net java -MASTER_SITES= http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}/sources/ \ - http://www.klop.ws/~ronald/software-mirrors/ +MASTER_SITES= http://web.talf.org/software/ \ + http://freebsd.nsu.ru/distfiles/ DISTNAME= Browser282b2 MAINTAINER= ronald@echteman.nl -COMMENT= Java/Swing-based LDAP browser/editor - -BROKEN= fails to fetch +COMMENT= Java/Swing-based LDAP browser and editor RESTRICTED= No reply from author regarding redistribution licensing @@ -21,13 +19,15 @@ JAVA_VERSION= 1.6+ NO_BUILD= yes NOMAN= defined WRKSRC= ${WRKDIR}/${PORTNAME} +REINPLACE_ARGS= -i '' post-extract: - @${REINPLACE_CMD} -i '' -e 's|lbe.jar|${PREFIX}/lib/ldapbrowser/lbe.jar|' ${WRKSRC}/lbe.sh + @${REINPLACE_CMD} -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 - ) + @${MKDIR} ${PREFIX}/lib/ldapbrowser + ${TAR} -C ${WRKSRC} -cf - . | ${TAR} xf - -C ${PREFIX}/lib/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 diff --git a/net/ldapbrowser/pkg-descr b/net/ldapbrowser/pkg-descr index 66c192843c17..a3f7acfe103c 100644 --- a/net/ldapbrowser/pkg-descr +++ b/net/ldapbrowser/pkg-descr @@ -1,12 +1,5 @@ -From the website: - The LDAP Browser/Editor provides a user-friendly Windows Explorer-like interface to LDAP directories with tightly integrated browsing and editing capabilities. It is entirely written in Java with the help of the JFC (SwingSet) and JNDI class libraries. It connects to LDAP v2 and v3 servers. - -WWW: http://www-unix.mcs.anl.gov/~gawor/ldap/index.html - -Bruce -bms@spc.org |