aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-17 09:57:58 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-17 09:57:58 +0000
commit223e2341e82d21c694e0044b9bda0c1d3077a837 (patch)
tree4cab640781aaeceb93792d7f1747bcfe4499f81a /java
parente093d7ea85916202bf557586e13a3935a629f51d (diff)
downloadports-223e2341e82d21c694e0044b9bda0c1d3077a837.tar.gz
ports-223e2341e82d21c694e0044b9bda0c1d3077a837.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/eclipse-pmd/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/java/eclipse-pmd/Makefile b/java/eclipse-pmd/Makefile
index 55af51db0a9c..db8a0c3dbde7 100644
--- a/java/eclipse-pmd/Makefile
+++ b/java/eclipse-pmd/Makefile
@@ -31,7 +31,6 @@ PLUGIN_PMD_DIR= "net.sourceforge.pmd.eclipse_${PORTVERSION}"
PLIST_SUB+= PLUGIN_PMD_DIR="${PLUGIN_PMD_DIR}" \
PLUGIN_CORE_DIR="${PLUGIN_CORE_DIR}"
-NO_STAGE= yes
post-extract:
cd ${WRKDIR}/features && ${MKDIR} ${PLUGIN_PMD_DIR} \
&& ${CP} ${PLUGIN_PMD_DIR}.jar ${PLUGIN_PMD_DIR} \
@@ -52,19 +51,19 @@ post-extract:
&& ${RM} ${PLUGIN_CORE_DIR}.jar
do-install:
- @${MKDIR} ${PREFIX}/lib/eclipse
- @${MKDIR} ${PREFIX}/lib/eclipse/plugins
- @${MKDIR} ${PREFIX}/lib/eclipse/plugins/${PLUGIN_PMD_DIR}
- @${MKDIR} ${PREFIX}/lib/eclipse/plugins/${PLUGIN_CORE_DIR}
- @${MKDIR} ${PREFIX}/lib/eclipse/features/${PLUGIN_PMD_DIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse/plugins
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${PLUGIN_PMD_DIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${PLUGIN_CORE_DIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse/features/${PLUGIN_PMD_DIR}
cd ${WRKDIR}/features/${PLUGIN_PMD_DIR} && ${FIND} . \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} \
- ${PREFIX}/lib/eclipse/features/${PLUGIN_PMD_DIR}
+ ${STAGEDIR}${PREFIX}/lib/eclipse/features/${PLUGIN_PMD_DIR}
cd ${WRKDIR}/plugins/${PLUGIN_PMD_DIR} && ${FIND} . \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} \
- ${PREFIX}/lib/eclipse/plugins/${PLUGIN_PMD_DIR}
+ ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${PLUGIN_PMD_DIR}
cd ${WRKDIR}/plugins/${PLUGIN_CORE_DIR} && ${FIND} . \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} \
- ${PREFIX}/lib/eclipse/plugins/${PLUGIN_CORE_DIR}
+ ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${PLUGIN_CORE_DIR}
.include <bsd.port.mk>