1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/ldapbrowser/Makefile
Matthias Andree cbb3de786f Support staging.
Update maintainer address.

Drop the @mode 755 from pkg-plist and instead fix the CHMOD in the
Makefile to address the STAGEDIR.

PR:		190611
Submitted by:	ronald@echteman.nl (maintainer)
2014-06-04 21:01:35 +00:00

36 lines
1022 B
Makefile

# Created by: Bruce M. Simpson <bms@FreeBSD.org>
# $FreeBSD$
PORTNAME= ldapbrowser
PORTVERSION= 2.8.2
PORTREVISION= 3
CATEGORIES= net java
MASTER_SITES= http://web.talf.org/software/ \
http://freebsd.nsu.ru/distfiles/
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
JAVA_VERSION= 1.6+
NO_BUILD= yes
NOMAN= defined
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>