mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Stagify.
This commit is contained in:
parent
e093d7ea85
commit
223e2341e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358086
@ -31,7 +31,6 @@ PLUGIN_PMD_DIR= "net.sourceforge.pmd.eclipse_${PORTVERSION}"
|
|||||||
PLIST_SUB+= PLUGIN_PMD_DIR="${PLUGIN_PMD_DIR}" \
|
PLIST_SUB+= PLUGIN_PMD_DIR="${PLUGIN_PMD_DIR}" \
|
||||||
PLUGIN_CORE_DIR="${PLUGIN_CORE_DIR}"
|
PLUGIN_CORE_DIR="${PLUGIN_CORE_DIR}"
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-extract:
|
post-extract:
|
||||||
cd ${WRKDIR}/features && ${MKDIR} ${PLUGIN_PMD_DIR} \
|
cd ${WRKDIR}/features && ${MKDIR} ${PLUGIN_PMD_DIR} \
|
||||||
&& ${CP} ${PLUGIN_PMD_DIR}.jar ${PLUGIN_PMD_DIR} \
|
&& ${CP} ${PLUGIN_PMD_DIR}.jar ${PLUGIN_PMD_DIR} \
|
||||||
@ -52,19 +51,19 @@ post-extract:
|
|||||||
&& ${RM} ${PLUGIN_CORE_DIR}.jar
|
&& ${RM} ${PLUGIN_CORE_DIR}.jar
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/lib/eclipse
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse
|
||||||
@${MKDIR} ${PREFIX}/lib/eclipse/plugins
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse/plugins
|
||||||
@${MKDIR} ${PREFIX}/lib/eclipse/plugins/${PLUGIN_PMD_DIR}
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${PLUGIN_PMD_DIR}
|
||||||
@${MKDIR} ${PREFIX}/lib/eclipse/plugins/${PLUGIN_CORE_DIR}
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${PLUGIN_CORE_DIR}
|
||||||
@${MKDIR} ${PREFIX}/lib/eclipse/features/${PLUGIN_PMD_DIR}
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse/features/${PLUGIN_PMD_DIR}
|
||||||
cd ${WRKDIR}/features/${PLUGIN_PMD_DIR} && ${FIND} . \
|
cd ${WRKDIR}/features/${PLUGIN_PMD_DIR} && ${FIND} . \
|
||||||
| ${CPIO} ${SHAREOWN}:${SHAREGRP} \
|
| ${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} . \
|
cd ${WRKDIR}/plugins/${PLUGIN_PMD_DIR} && ${FIND} . \
|
||||||
| ${CPIO} ${SHAREOWN}:${SHAREGRP} \
|
| ${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} . \
|
cd ${WRKDIR}/plugins/${PLUGIN_CORE_DIR} && ${FIND} . \
|
||||||
| ${CPIO} ${SHAREOWN}:${SHAREGRP} \
|
| ${CPIO} ${SHAREOWN}:${SHAREGRP} \
|
||||||
${PREFIX}/lib/eclipse/plugins/${PLUGIN_CORE_DIR}
|
${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${PLUGIN_CORE_DIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user