summaryrefslogtreecommitdiff
path: root/java/eclipse-datatools/Makefile
diff options
context:
space:
mode:
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>