freebsd-ports/net/ldapbrowser/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

37 lines
1.1 KiB
Makefile

# Created by: Bruce M. Simpson <bms@FreeBSD.org>
# $FreeBSD$
PORTNAME= ldapbrowser
PORTVERSION= 2.8.2
PORTREVISION= 4
CATEGORIES= net java
MASTER_SITES= http://www.klop.ws/distfiles/ \
http://freebsd.nsu.ru/distfiles/ \
ftp://ftp.nstu.ru/pub/sources/nettools/ldap/ \
ftp://ftp.gtrgrenoble.fr/TpRes/Ldap/ \
ftp://ftp.uni-duisburg.de/Unix/networking/LDAP/frontends/
DISTNAME= Browser282b2
MAINTAINER= ronald-lists@klop.ws
COMMENT= Java/Swing-based LDAP browser and editor
RESTRICTED= No reply from author regarding redistribution licensing
USE_JAVA= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
REINPLACE_ARGS= -i ''
post-extract:
@${REINPLACE_CMD} -e 's|lbe\.jar|${PREFIX}/lib/ldapbrowser/lbe.jar|' \
${WRKSRC}/lbe.sh
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ldapbrowser
${TAR} -C ${WRKSRC} -cf - . | ${TAR} xf - -C ${STAGEDIR}${PREFIX}/lib/ldapbrowser
${ECHO_CMD} "#!/bin/sh" > ${STAGEDIR}${PREFIX}/bin/ldapbrowser
${ECHO_CMD} "${PREFIX}/lib/ldapbrowser/lbe.sh -base ${PREFIX}/lib/ldapbrowser" >> ${STAGEDIR}${PREFIX}/bin/ldapbrowser
${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/ldapbrowser
.include <bsd.port.mk>