aboutsummaryrefslogtreecommitdiffstats
path: root/net/ldapbrowser/Makefile
blob: d71f47ac664f3adb5e50cee0d4ae234bb8839392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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>