mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
Approved by: portmgr@
This commit is contained in:
parent
7bf6a01d1b
commit
5d6545d27c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358099
@ -22,18 +22,17 @@ USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
JAVA_OS= native
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${MKDIR} ${WRKSRC}/eclipse
|
||||
@${MV} ${WRKSRC}/plugins ${WRKSRC}/eclipse/plugins
|
||||
@${MV} ${WRKSRC}/features ${WRKSRC}/eclipse/features
|
||||
@${MKDIR} ${PREFIX}/lib/eclipse
|
||||
@${CP} -r ${WRKSRC}/eclipse/plugins ${PREFIX}/lib/eclipse
|
||||
@${CP} -r ${WRKSRC}/eclipse/features ${PREFIX}/lib/eclipse
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse
|
||||
@${CP} -r ${WRKSRC}/eclipse/plugins ${STAGEDIR}${PREFIX}/lib/eclipse
|
||||
@${CP} -r ${WRKSRC}/eclipse/features ${STAGEDIR}${PREFIX}/lib/eclipse
|
||||
@(cd ${WRKSRC}; ${FIND} -s eclipse/features eclipse/plugins -not -type d) | ${SED} -e 's,^eclipse,lib/eclipse,' >> ${TMPPLIST}
|
||||
@(cd ${WRKSRC}; ${FIND} -s -d eclipse/features eclipse/plugins -type d) \
|
||||
| ${GREP} -vE 'eclipse/plugins$$|eclipse/features$$' \
|
||||
| ${SED} -ne 's,^,@dirrm lib/,p' >> ${TMPPLIST}
|
||||
| ${GREP} -vE 'eclipse/plugins$$|eclipse/features$$' \
|
||||
| ${SED} -ne 's,^,@dirrm lib/,p' >> ${TMPPLIST}
|
||||
@${MV} ${WRKSRC}/eclipse/plugins ${WRKSRC}/plugins
|
||||
@${MV} ${WRKSRC}/eclipse/features ${WRKSRC}/features
|
||||
@${RM} -rf ${WRKSRC}/eclipse
|
||||
|
Loading…
Reference in New Issue
Block a user