summaryrefslogtreecommitdiff
path: root/java/eclipse-datatools/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2007-12-25 00:55:37 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2007-12-25 00:55:37 +0000
commit62562efcfbba48a7f19eaac5cf2ba216e02e68d1 (patch)
treefd2677603a85da0fbb41768e8f3e4e2eadde9547 /java/eclipse-datatools/Makefile
parent- Update to 0.9 (diff)
o Switch to a static PLIST instead of a install time generated time
o PLIST can be automatically generated by the target generate-plist-locally o No PORTREVISION bump since there were no other changes
Notes
Notes: svn path=/head/; revision=204470
Diffstat (limited to 'java/eclipse-datatools/Makefile')
-rw-r--r--java/eclipse-datatools/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/java/eclipse-datatools/Makefile b/java/eclipse-datatools/Makefile
index ab860bb11b4e..3e6f2368f2ed 100644
--- a/java/eclipse-datatools/Makefile
+++ b/java/eclipse-datatools/Makefile
@@ -42,12 +42,16 @@ do-install:
${FIND} -s features plugins -not -type d \
-exec ${INSTALL_DATA} "{}" "${PREFIX}/eclipse/{}" \; \
)
+
+# used to manually generate the plist files
+generate-plist-locally: build
# annotate installation files
- @(cd ${WRKSRC} && ${FIND} -s eclipse/features eclipse/plugins -not -type d) >> ${TMPPLIST}
+ @(cd ${WRKSRC}/eclipse && ${FIND} -s features plugins -not -type d) \
+ | ${SED} -ne 's,^,eclipse/,p' > ${PLIST}
# annotate installation directories
- @(cd ${WRKSRC} && ${FIND} -s -d eclipse/features eclipse/plugins -type d) \
- | ${GREP} -vE 'eclipse/plugins$$|eclipse/features$$' \
- | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
+ @(cd ${WRKSRC}/eclipse && ${FIND} -s -d features plugins -type d) \
+ | ${GREP} -vE '^plugins$$|^features$$' \
+ | ${SED} -ne 's,^,@dirrm eclipse/,p' >> ${PLIST}
.include <bsd.port.pre.mk>