mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 19:35:28 -04:00
- Cleanup lazarus* plist
- Bump lazarus-lcl-units PORTREVISION as previously generated plist was buggy
This commit is contained in:
parent
892b316849
commit
0796bef5ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374429
3 changed files with 7 additions and 29 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
|
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
PKGNAMESUFFIX= -lcl-units
|
PKGNAMESUFFIX= -lcl-units
|
||||||
|
|
||||||
COMMENT= Lazarus components library units
|
COMMENT= Lazarus components library units
|
||||||
|
|
|
@ -132,6 +132,9 @@ pre-install:
|
||||||
|
|
||||||
@${RM} -f ${PLIST}
|
@${RM} -f ${PLIST}
|
||||||
@${RM} -f ${WRKSRC}/lcl/units
|
@${RM} -f ${WRKSRC}/lcl/units
|
||||||
|
@${RM} -r ${WRKSRC}/components/chmhelp/lhelp/lhelp.app/Contents/MacOS \
|
||||||
|
${WRKSRC}/lazarus.app/Contents/MacOS \
|
||||||
|
${WRKSRC}/lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS
|
||||||
|
|
||||||
. for FILE in bin/lazarus bin/lazbuild
|
. for FILE in bin/lazarus bin/lazbuild
|
||||||
@${ECHO_CMD} ${FILE} >> ${PLIST}
|
@${ECHO_CMD} ${FILE} >> ${PLIST}
|
||||||
|
@ -142,20 +145,16 @@ pre-install:
|
||||||
|
|
||||||
@${ECHO_CMD} "%%DATADIR%%/docs" >> ${PLIST}
|
@${ECHO_CMD} "%%DATADIR%%/docs" >> ${PLIST}
|
||||||
@cd ${WRKDIR}/docs && \
|
@cd ${WRKDIR}/docs && \
|
||||||
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DOCSDIR%%/|' >> ${PLIST} && \
|
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DOCSDIR%%/|' >> ${PLIST}
|
||||||
${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DOCSDIR%%/|' >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}
|
|
||||||
|
|
||||||
@${ECHO_CMD} "%%DATADIR%%/examples" >> ${PLIST}
|
@${ECHO_CMD} "%%DATADIR%%/examples" >> ${PLIST}
|
||||||
@cd ${WRKDIR}/examples && \
|
@cd ${WRKDIR}/examples && \
|
||||||
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%EXAMPLESDIR%%/|' >> ${PLIST} && \
|
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%EXAMPLESDIR%%/|' >> ${PLIST} && \
|
||||||
${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%EXAMPLESDIR%%/|' >> ${PLIST}
|
${FIND} * -type d -empty | ${SORT} | ${SED} -e 's|^|@dir %%EXAMPLESDIR%%/|' >> ${PLIST}
|
||||||
@${ECHO_CMD} "@dirrm %%EXAMPLESDIR%%" >> ${PLIST}
|
|
||||||
|
|
||||||
@cd ${WRKSRC} && \
|
@cd ${WRKSRC} && \
|
||||||
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
|
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
|
||||||
${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrmtry %%DATADIR%%/|' >> ${PLIST}
|
${FIND} * -type d -empty | ${SORT} | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST}
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST}
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
.for DIRE in components converter debugger designer doceditor ide images install languages lazarus.app lcl \
|
.for DIRE in components converter debugger designer doceditor ide images install languages lazarus.app lcl \
|
||||||
|
|
|
@ -57,27 +57,6 @@ pre-install:
|
||||||
@cd ${WRKDIR}/${PORTNAME}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE} && \
|
@cd ${WRKDIR}/${PORTNAME}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE} && \
|
||||||
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/components/lazcontrols/lib/%%BUILDNAME%%/${LCL_INTERFACE}/|' -e 's|//|/|' >> ${PLIST}
|
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/components/lazcontrols/lib/%%BUILDNAME%%/${LCL_INTERFACE}/|' -e 's|//|/|' >> ${PLIST}
|
||||||
|
|
||||||
.if ${PKGNAMESUFFIX} != "-lcl-units"
|
|
||||||
@${ECHO_CMD} "@dirrm %%DATADIR%%/lcl/units/%%BUILDNAME%%/${LCL_INTERFACE}" >> ${PLIST}
|
|
||||||
.endif
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/ideintf/units/%%BUILDNAME%%/${LCL_INTERFACE}" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/ideintf/units/%%BUILDNAME%%" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/ideintf/units" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/ideintf" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/synedit/units/%%BUILDNAME%%/${LCL_INTERFACE}" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/synedit/units/%%BUILDNAME%%" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/synedit/units" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/synedit" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/lazcontrols/lib/%%BUILDNAME%%/${LCL_INTERFACE}" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/lazcontrols/lib/%%BUILDNAME%%" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/lazcontrols/lib" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components/lazcontrols" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/components" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/lcl/units/%%BUILDNAME%%" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/lcl/units" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%/lcl" >> ${PLIST}
|
|
||||||
@${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST}
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DATADIR}/lcl/units/${BUILDNAME}/${LCL_INTERFACE}
|
@${MKDIR} ${STAGEDIR}${DATADIR}/lcl/units/${BUILDNAME}/${LCL_INTERFACE}
|
||||||
@${MKDIR} ${STAGEDIR}${DATADIR}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE}
|
@${MKDIR} ${STAGEDIR}${DATADIR}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE}
|
||||||
|
|
Loading…
Add table
Reference in a new issue