aboutsummaryrefslogtreecommitdiff
path: root/java/eclipseme
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-02-13 19:09:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-02-13 19:09:45 +0000
commit5435c8f5a62c43ef15a9a3c908c3992ec23e9d2f (patch)
tree6fbb5dcf437cef312630cb1ca9c3f6291f975319 /java/eclipseme
parent7ba7b6cf27155f36e8a65883f179945a2f2537ba (diff)
downloadports-5435c8f5a62c43ef15a9a3c908c3992ec23e9d2f.tar.gz
ports-5435c8f5a62c43ef15a9a3c908c3992ec23e9d2f.zip
Notes
Diffstat (limited to 'java/eclipseme')
-rw-r--r--java/eclipseme/Makefile5
-rw-r--r--java/eclipseme/files/pkg-message.in (renamed from java/eclipseme/pkg-message)2
2 files changed, 4 insertions, 3 deletions
diff --git a/java/eclipseme/Makefile b/java/eclipseme/Makefile
index 20feda73ad37..44ea50fefa4b 100644
--- a/java/eclipseme/Makefile
+++ b/java/eclipseme/Makefile
@@ -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>
diff --git a/java/eclipseme/pkg-message b/java/eclipseme/files/pkg-message.in
index 6a45e568d217..8bd48ffd5859 100644
--- a/java/eclipseme/pkg-message
+++ b/java/eclipseme/files/pkg-message.in
@@ -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
================================================================