mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
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)
This commit is contained in:
parent
5560eb92ea
commit
cbb3de786f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356545
@ -9,7 +9,7 @@ MASTER_SITES= http://web.talf.org/software/ \
|
||||
http://freebsd.nsu.ru/distfiles/
|
||||
DISTNAME= Browser282b2
|
||||
|
||||
MAINTAINER= ronald@echteman.nl
|
||||
MAINTAINER= ronald-lists@klop.ws
|
||||
COMMENT= Java/Swing-based LDAP browser and editor
|
||||
|
||||
RESTRICTED= No reply from author regarding redistribution licensing
|
||||
@ -21,16 +21,15 @@ NOMAN= defined
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
REINPLACE_ARGS= -i ''
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's|lbe\.jar|${PREFIX}/lib/ldapbrowser/lbe.jar|' \
|
||||
${WRKSRC}/lbe.sh
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/lib/ldapbrowser
|
||||
${TAR} -C ${WRKSRC} -cf - . | ${TAR} xf - -C ${PREFIX}/lib/ldapbrowser
|
||||
${ECHO_CMD} "#!/bin/sh" > ${PREFIX}/bin/ldapbrowser
|
||||
${ECHO_CMD} "${PREFIX}/lib/ldapbrowser/lbe.sh -base ${PREFIX}/lib/ldapbrowser" >> ${PREFIX}/bin/ldapbrowser
|
||||
${CHMOD} +x ${PREFIX}/bin/ldapbrowser
|
||||
@${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>
|
||||
|
Loading…
Reference in New Issue
Block a user