freebsd-ports/net/ldapbrowser/Makefile
Beat Gaetzi e653d9c9c1 - 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)
2009-03-20 23:34:25 +00:00

37 lines
1 KiB
Makefile

# New ports collection makefile for: ldapbrowser
# Date created: 17 August 2002
# Whom: Bruce M. Simpson
#
# $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/
DISTNAME= Browser282b2
MAINTAINER= ronald@echteman.nl
COMMENT= Java/Swing-based LDAP Browser/Editor
RESTRICTED= No reply from author regarding redistribution licensing
USE_JAVA= yes
JAVA_VERSION= 1.4+
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} "#!/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>