freebsd-ports/net/ldapbrowser/Makefile
Bruce M Simpson 5dfcfcd098 New port: ldapbrowser, a Java Swing-based LDAP browser and editor, tested
and operational with OpenLDAP 1.2 and 2.0.
2003-12-08 18:16:36 +00:00

32 lines
869 B
Makefile

# New ports collection makefile for: ldapbrowser
# Date created: 17 August 2002
# Whom: Bruce M. Simpson
#
# $FreeBSD$
#
PORTNAME= ldapbrowser
PORTVERSION= 2.8.1
CATEGORIES= net
MASTER_SITES= http://www-unix.mcs.anl.gov/~gawor/ldapcommon/bin/
DISTNAME= Browser281
MAINTAINER= bms@FreeBSD.org
COMMENT= Java/Swing-based LDAP Browser/Editor
RESTRICTED= "No reply from author regarding redistribution licensing"
USE_JAVA= 1.4+
NO_BUILD= yes
NOMAN= defined
WRKSRC= ${WRKDIR}/${PORTNAME}
do-install:
${MKDIR} ${PREFIX}/lib/ldapbrowser
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
.include <bsd.port.mk>