1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Use $SUB_FILES to dynamically adjust pkg-message

PR:		142623
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
Martin Wilke 2010-02-13 19:09:45 +00:00
parent 7ba7b6cf27
commit 5435c8f5a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249791
2 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,8 @@ RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse \
NO_BUILD= yes
USE_ZIP= yes
NO_WRKSUBDIR= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
SUB_LIST= APP_HOME=${APP_HOME}
APP_HOME= ${PREFIX}/eclipse/plugins/${PORTNAME}_${PORTVERSION}
.if defined(WITH_PROGUARD)
@ -34,6 +35,6 @@ do-install:
@${CP} -R ${WRKSRC}/${PORTNAME}_${PORTVERSION} ${PREFIX}/eclipse/plugins/
post-install:
@${CAT} ./pkg-message | ${SED} -e 's|%%PREFIX%%|${APP_HOME}|'
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
================================================================
Initial configuration instructions for the Eclipse J2ME plugin
are in the file:
%%PREFIX%%/doc/index.html
%%APP_HOME%%/doc/index.html
================================================================