aboutsummaryrefslogtreecommitdiffstats
path: root/net/ldapbrowser/Makefile
blob: 7998c27f1cfcb588c5525f4b7639e13a5ba60ef7 (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.2
CATEGORIES= net java
MASTER_SITES=   http://www-unix.mcs.anl.gov/~gawor/ldapcommon/bin/
DISTNAME=   Browser282b2

MAINTAINER= bms@FreeBSD.org
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}

do-install:
    ${MKDIR} ${PREFIX}/lib/ldapbrowser
    cd ${WRKSRC} ; tar cf - . | ( cd ${PREFIX}/lib/ldapbrowser ; tar xf - )
    ${ECHO_CMD} "cd ${PREFIX}/lib/ldapbrowser" > ${PREFIX}/bin/ldapbrowser
    ${ECHO_CMD} "sh ${PREFIX}/lib/ldapbrowser/lbe.sh" >> ${PREFIX}/bin/ldapbrowser
    ${CHMOD} +x ${PREFIX}/bin/ldapbrowser

.include <bsd.port.mk>