Support staging

This commit is contained in:
Baptiste Daroussin 2013-09-23 21:34:48 +00:00
parent 93fe762798
commit fc2174ba58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328058
23 changed files with 71 additions and 94 deletions

View file

@ -36,17 +36,16 @@ PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
.endfor
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/*.aff ${WRKSRC}/*.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/*.aff ${WRKSRC}/*.dic ${STAGEDIR}${DATADIR}/
.for ALIAS in ${GBALIASES}
${LN} -s en_GB.aff ${DATADIR}/${ALIAS}.aff
${LN} -s en_GB.dic ${DATADIR}/${ALIAS}.dic
${LN} -s en_GB.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
${LN} -s en_GB.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
.endfor
.for ALIAS in ${USALIASES}
${LN} -s en_US.aff ${DATADIR}/${ALIAS}.aff
${LN} -s en_US.dic ${DATADIR}/${ALIAS}.dic
${LN} -s en_US.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
${LN} -s en_US.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
.endfor
.include <bsd.port.mk>

View file

@ -30,14 +30,13 @@ PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
.endfor
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/es_ANY.aff ${DATADIR}/es_ES.aff
${INSTALL_DATA} ${WRKSRC}/es_ANY.dic ${DATADIR}/es_ES.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/es_ANY.aff ${STAGEDIR}${DATADIR}/es_ES.aff
${INSTALL_DATA} ${WRKSRC}/es_ANY.dic ${STAGEDIR}${DATADIR}/es_ES.dic
.for ALIAS in ${ESALIASES}
${LN} -s es_ES.aff ${DATADIR}/${ALIAS}.aff
${LN} -s es_ES.dic ${DATADIR}/${ALIAS}.dic
${LN} -s es_ES.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
${LN} -s es_ES.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
.endfor
.include <bsd.port.mk>

View file

@ -22,9 +22,8 @@ PLIST_FILES= %%DATADIR%%/it_IT.aff \
%%DATADIR%%/it_IT.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/it_IT.aff ${WRKSRC}/it_IT.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/it_IT.aff ${WRKSRC}/it_IT.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -29,14 +29,13 @@ PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
.endfor
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/nl_NL.aff ${DATADIR}/nl_NL.aff
${INSTALL_DATA} ${WRKSRC}/nl_NL.dic ${DATADIR}/nl_NL.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/nl_NL.aff ${STAGEDIR}${DATADIR}/nl_NL.aff
${INSTALL_DATA} ${WRKSRC}/nl_NL.dic ${STAGEDIR}${DATADIR}/nl_NL.dic
.for ALIAS in ${NLALIASES}
${LN} -s nl_NL.aff ${DATADIR}/${ALIAS}.aff
${LN} -s nl_NL.dic ${DATADIR}/${ALIAS}.dic
${LN} -s nl_NL.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
${LN} -s nl_NL.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
.endfor
.include <bsd.port.mk>

View file

@ -21,14 +21,13 @@ PLIST_FILES= %%DATADIR%%/nb_NO.aff \
%%DATADIR%%/nn_NO.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
post-extract:
@${EXTRACT_CMD} ${WRKDIR}/nb_NO.zip -d ${WRKSRC}/
@${EXTRACT_CMD} ${WRKDIR}/nn_NO.zip -d ${WRKSRC}/
do-install:
${MKDIR} ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/nb_NO.aff ${WRKSRC}/nb_NO.dic \
${WRKSRC}/nn_NO.aff ${WRKSRC}/nn_NO.dic ${DATADIR}/
${WRKSRC}/nn_NO.aff ${WRKSRC}/nn_NO.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -22,9 +22,8 @@ PLIST_FILES= %%DATADIR%%/ro_RO.aff \
%%DATADIR%%/ro_RO.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ro_RO.aff ${WRKSRC}/ro_RO.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ro_RO.aff ${WRKSRC}/ro_RO.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -22,9 +22,8 @@ PLIST_FILES= %%DATADIR%%/sk_SK.aff \
%%DATADIR%%/sk_SK.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/sk_SK.aff ${WRKSRC}/sk_SK.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/sk_SK.aff ${WRKSRC}/sk_SK.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -24,9 +24,8 @@ PLIST_FILES= %%DATADIR%%/so_SO.aff \
%%DATADIR%%/so_SO.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/so_SO.aff ${WRKSRC}/so_SO.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/so_SO.aff ${WRKSRC}/so_SO.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -19,9 +19,8 @@ PLIST_FILES= %%DATADIR%%/sq_AL.aff \
%%DATADIR%%/sq_AL.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/sq_AL.aff ${WRKSRC}/sq_AL.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/sq_AL.aff ${WRKSRC}/sq_AL.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -24,12 +24,11 @@ PLIST_FILES= %%DATADIR%%/sh_YU.aff \
%%DATADIR%%/sr_YU.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/sr-RS-Latn.aff ${DATADIR}/sh_YU.aff
${INSTALL_DATA} ${WRKSRC}/sr-RS-Latn.dic ${DATADIR}/sh_YU.dic
${INSTALL_DATA} ${WRKSRC}/sr-RS-Cyrl.aff ${DATADIR}/sr_YU.aff
${INSTALL_DATA} ${WRKSRC}/sr-RS-Cyrl.dic ${DATADIR}/sr_YU.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/sr-RS-Latn.aff ${STAGEDIR}${DATADIR}/sh_YU.aff
${INSTALL_DATA} ${WRKSRC}/sr-RS-Latn.dic ${STAGEDIR}${DATADIR}/sh_YU.dic
${INSTALL_DATA} ${WRKSRC}/sr-RS-Cyrl.aff ${STAGEDIR}${DATADIR}/sr_YU.aff
${INSTALL_DATA} ${WRKSRC}/sr-RS-Cyrl.dic ${STAGEDIR}${DATADIR}/sr_YU.dic
.include <bsd.port.mk>

View file

@ -22,10 +22,9 @@ PLIST_FILES= %%DATADIR%%/ss_ZA.aff \
%%DATADIR%%/ss_ZA.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ss-ZA.aff ${DATADIR}/ss_ZA.aff
${INSTALL_DATA} ${WRKSRC}/ss-ZA.dic ${DATADIR}/ss_ZA.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ss-ZA.aff ${STAGEDIR}${DATADIR}/ss_ZA.aff
${INSTALL_DATA} ${WRKSRC}/ss-ZA.dic ${STAGEDIR}${DATADIR}/ss_ZA.dic
.include <bsd.port.mk>

View file

@ -23,11 +23,10 @@ PLIST_FILES= %%DATADIR%%/sv_FI.aff \
%%DATADIR%%/sv_SE.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/sv_SE.aff ${WRKSRC}/sv_SE.dic ${DATADIR}/
${LN} -s sv_SE.aff ${DATADIR}/sv_FI.aff
${LN} -s sv_SE.dic ${DATADIR}/sv_FI.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/sv_SE.aff ${WRKSRC}/sv_SE.dic ${STAGEDIR}${DATADIR}/
${LN} -s sv_SE.aff ${STAGEDIR}${DATADIR}/sv_FI.aff
${LN} -s sv_SE.dic ${STAGEDIR}${DATADIR}/sv_FI.dic
.include <bsd.port.mk>

View file

@ -21,14 +21,13 @@ PLIST_FILES= %%DATADIR%%/te_IN.aff \
%%DATADIR%%/te_IN.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-build:
@cd ${WRKSRC}; \
${LOCALBASE}/bin/prezip-bin -d < te.cwl > te.txt; \
${SETENV} LANG=te_IN.utf8 ${LOCALBASE}/bin/wordlist2hunspell te.txt te_IN
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/te_IN.aff ${WRKSRC}/te_IN.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/te_IN.aff ${WRKSRC}/te_IN.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -22,11 +22,10 @@ PLIST_FILES= %%DATADIR%%/ti_ER.dic \
%%DATADIR%%/ti_ET.aff
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ti_ER.aff ${WRKSRC}/ti_ER.dic ${DATADIR}/
${LN} -s ti_ER.aff ${DATADIR}/ti_ET.aff
${LN} -s ti_ER.dic ${DATADIR}/ti_ET.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ti_ER.aff ${WRKSRC}/ti_ER.dic ${STAGEDIR}${DATADIR}/
${LN} -s ti_ER.aff ${STAGEDIR}${DATADIR}/ti_ET.aff
${LN} -s ti_ER.dic ${STAGEDIR}${DATADIR}/ti_ET.dic
.include <bsd.port.mk>

View file

@ -22,9 +22,8 @@ PLIST_FILES= %%DATADIR%%/tk.aff \
%%DATADIR%%/tk.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/tk.aff ${WRKSRC}/tk.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/tk.aff ${WRKSRC}/tk.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -24,12 +24,11 @@ PLIST_FILES= %%DATADIR%%/tn_BW.aff \
%%DATADIR%%/tn_ZA.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/tn-ZA.aff ${DATADIR}/tn_ZA.aff
${INSTALL_DATA} ${WRKSRC}/tn-ZA.dic ${DATADIR}/tn_ZA.dic
${LN} -s tn_ZA.aff ${DATADIR}/tn_BW.aff
${LN} -s tn_ZA.dic ${DATADIR}/tn_BW.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/tn-ZA.aff ${STAGEDIR}${DATADIR}/tn_ZA.aff
${INSTALL_DATA} ${WRKSRC}/tn-ZA.dic ${STAGEDIR}${DATADIR}/tn_ZA.dic
${LN} -s tn_ZA.aff ${STAGEDIR}${DATADIR}/tn_BW.aff
${LN} -s tn_ZA.dic ${STAGEDIR}${DATADIR}/tn_BW.dic
.include <bsd.port.mk>

View file

@ -22,10 +22,9 @@ PLIST_FILES= %%DATADIR%%/ts_ZA.aff \
%%DATADIR%%/ts_ZA.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ts-ZA.aff ${DATADIR}/ts_ZA.aff
${INSTALL_DATA} ${WRKSRC}/ts-ZA.dic ${DATADIR}/ts_ZA.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ts-ZA.aff ${STAGEDIR}${DATADIR}/ts_ZA.aff
${INSTALL_DATA} ${WRKSRC}/ts-ZA.dic ${STAGEDIR}${DATADIR}/ts_ZA.dic
.include <bsd.port.mk>

View file

@ -20,9 +20,8 @@ PLIST_FILES= %%DATADIR%%/uz_UZ.aff \
%%DATADIR%%/uz_UZ.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/uz_UZ.aff ${WRKSRC}/uz_UZ.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/uz_UZ.aff ${WRKSRC}/uz_UZ.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -22,10 +22,9 @@ PLIST_FILES= %%DATADIR%%/ve.aff \
%%DATADIR%%/ve.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ve-ZA.aff ${DATADIR}/ve.aff
${INSTALL_DATA} ${WRKSRC}/ve-ZA.dic ${DATADIR}/ve.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ve-ZA.aff ${STAGEDIR}${DATADIR}/ve.aff
${INSTALL_DATA} ${WRKSRC}/ve-ZA.dic ${STAGEDIR}${DATADIR}/ve.dic
.include <bsd.port.mk>

View file

@ -21,9 +21,8 @@ PLIST_FILES= %%DATADIR%%/wa.aff \
%%DATADIR%%/wa.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/wa.aff ${WRKSRC}/wa.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/wa.aff ${WRKSRC}/wa.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -22,10 +22,9 @@ PLIST_FILES= %%DATADIR%%/xh.aff \
%%DATADIR%%/xh.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/xh-ZA.aff ${DATADIR}/xh.aff
${INSTALL_DATA} ${WRKSRC}/xh-ZA.dic ${DATADIR}/xh.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/xh-ZA.aff ${STAGEDIR}${DATADIR}/xh.aff
${INSTALL_DATA} ${WRKSRC}/xh-ZA.dic ${STAGEDIR}${DATADIR}/xh.dic
.include <bsd.port.mk>

View file

@ -22,9 +22,8 @@ PLIST_FILES= %%DATADIR%%/yi.aff \
%%DATADIR%%/yi.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/yi.aff ${WRKSRC}/yi.dic ${DATADIR}/
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/yi.aff ${WRKSRC}/yi.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -22,10 +22,9 @@ PLIST_FILES= %%DATADIR%%/zu.aff \
%%DATADIR%%/zu.dic
PLIST_DIRSTRY= %%DATADIR%%
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/zu-ZA.aff ${DATADIR}/zu.aff
${INSTALL_DATA} ${WRKSRC}/zu-ZA.dic ${DATADIR}/zu.dic
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/zu-ZA.aff ${STAGEDIR}${DATADIR}/zu.aff
${INSTALL_DATA} ${WRKSRC}/zu-ZA.dic ${STAGEDIR}${DATADIR}/zu.dic
.include <bsd.port.mk>