diff options
-rw-r--r-- | mail/thunderbird-esr-i18n/Makefile | 18 | ||||
-rw-r--r-- | mail/thunderbird-i18n/Makefile | 18 | ||||
-rw-r--r-- | www/firefox-esr-i18n/Makefile | 18 | ||||
-rw-r--r-- | www/firefox-i18n/Makefile | 18 | ||||
-rw-r--r-- | www/seamonkey-i18n/Makefile | 18 |
5 files changed, 60 insertions, 30 deletions
diff --git a/mail/thunderbird-esr-i18n/Makefile b/mail/thunderbird-esr-i18n/Makefile index e41f4801849c..de69a509b451 100644 --- a/mail/thunderbird-esr-i18n/Makefile +++ b/mail/thunderbird-esr-i18n/Makefile @@ -7,6 +7,7 @@ PORTNAME= thunderbird-i18n PORTVERSION= 10.0.3 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITE_SUBDIR= thunderbird/releases/${PORTVERSION}esr/linux-i686/xpi PKGNAMEPREFIX= @@ -18,6 +19,10 @@ COMMENT= Localized interface for Thunderbird EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip +PLIST?= ${WRKDIR}/plist +PLISTD?= ${WRKDIR}/plist_dirs +PLISTF?= ${WRKDIR}/plist_files + .ifndef WITHOUT_SWITCHER RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher .endif @@ -46,8 +51,6 @@ WDIR= langpack-*@thunderbird.mozilla.org XPI_DISTNAMES= ${THUNDERBIRD_I18N_} .for dist in ${XPI_DISTNAMES} XPI_ID_${dist}= langpack-${dist}@thunderbird.mozilla.org -XPI_FILES_${dist}= chrome.manifest install.rdf chrome/${dist}.jar -XPI_DIRS_${dist}= chrome .endfor do-extract: @@ -58,11 +61,14 @@ do-extract: then \ exit 1; \ fi; \ - cd ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org/chrome/$$lang; \ - ${LOCALBASE}/bin/zip -r ../$$lang.jar locale; \ - cd ..; ${RM} -rf $$lang; cd ..; \ - ${REINPLACE_CMD} -i "" "s,chrome/$$lang,jar:chrome/$$lang.jar!," chrome.manifest; \ + cd ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org/; \ + ${FIND} -H -s * ! -type d | \ + ${SED} -e "s|^|lib/xpi/langpack-$$lang@thunderbird.mozilla.org/|" >> ${PLISTF} && \ + ${FIND} -d * -type d | \ + ${SED} -e "s|^|@dirrm lib/xpi/langpack-$$lang@thunderbird.mozilla.org/|" >> ${PLISTD}; \ done + ${CAT} ${PLISTF} | ${SORT} >> ${PLIST} + ${CAT} ${PLISTD} | ${SORT} -r >> ${PLIST} do-install: @${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL} diff --git a/mail/thunderbird-i18n/Makefile b/mail/thunderbird-i18n/Makefile index e41f4801849c..de69a509b451 100644 --- a/mail/thunderbird-i18n/Makefile +++ b/mail/thunderbird-i18n/Makefile @@ -7,6 +7,7 @@ PORTNAME= thunderbird-i18n PORTVERSION= 10.0.3 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITE_SUBDIR= thunderbird/releases/${PORTVERSION}esr/linux-i686/xpi PKGNAMEPREFIX= @@ -18,6 +19,10 @@ COMMENT= Localized interface for Thunderbird EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip +PLIST?= ${WRKDIR}/plist +PLISTD?= ${WRKDIR}/plist_dirs +PLISTF?= ${WRKDIR}/plist_files + .ifndef WITHOUT_SWITCHER RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher .endif @@ -46,8 +51,6 @@ WDIR= langpack-*@thunderbird.mozilla.org XPI_DISTNAMES= ${THUNDERBIRD_I18N_} .for dist in ${XPI_DISTNAMES} XPI_ID_${dist}= langpack-${dist}@thunderbird.mozilla.org -XPI_FILES_${dist}= chrome.manifest install.rdf chrome/${dist}.jar -XPI_DIRS_${dist}= chrome .endfor do-extract: @@ -58,11 +61,14 @@ do-extract: then \ exit 1; \ fi; \ - cd ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org/chrome/$$lang; \ - ${LOCALBASE}/bin/zip -r ../$$lang.jar locale; \ - cd ..; ${RM} -rf $$lang; cd ..; \ - ${REINPLACE_CMD} -i "" "s,chrome/$$lang,jar:chrome/$$lang.jar!," chrome.manifest; \ + cd ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org/; \ + ${FIND} -H -s * ! -type d | \ + ${SED} -e "s|^|lib/xpi/langpack-$$lang@thunderbird.mozilla.org/|" >> ${PLISTF} && \ + ${FIND} -d * -type d | \ + ${SED} -e "s|^|@dirrm lib/xpi/langpack-$$lang@thunderbird.mozilla.org/|" >> ${PLISTD}; \ done + ${CAT} ${PLISTF} | ${SORT} >> ${PLIST} + ${CAT} ${PLISTD} | ${SORT} -r >> ${PLIST} do-install: @${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL} diff --git a/www/firefox-esr-i18n/Makefile b/www/firefox-esr-i18n/Makefile index b188a837e787..0beeebda31f4 100644 --- a/www/firefox-esr-i18n/Makefile +++ b/www/firefox-esr-i18n/Makefile @@ -7,6 +7,7 @@ PORTNAME= firefox-i18n PORTVERSION= 10.0.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITE_SUBDIR= firefox/releases/${PORTVERSION}esr/linux-i686/xpi PKGNAMEPREFIX= @@ -27,6 +28,10 @@ WDIR= langpack-*@firefox.mozilla.org XPI_DISTNAMES= ${FIREFOX_I18N_} +PLIST?= ${WRKDIR}/plist +PLISTD?= ${WRKDIR}/plist_dirs +PLISTF?= ${WRKDIR}/plist_files + .include "${.CURDIR}/Makefile.option" .include <bsd.port.pre.mk> @@ -40,8 +45,6 @@ FIREFOX_I18N_?= ${FIREFOX_I18N} .for dist in ${XPI_DISTNAMES} XPI_ID_${dist}= langpack-${dist}@firefox.mozilla.org -XPI_FILES_${dist}= chrome.manifest install.rdf chrome/${dist}.jar -XPI_DIRS_${dist}= chrome .endfor pre-everything:: @@ -56,11 +59,14 @@ do-extract: then \ exit 1; \ fi; \ - cd ${WRKSRC}/langpack-$$lang@firefox.mozilla.org/chrome/$$lang; \ - ${LOCALBASE}/bin/zip -r ../$$lang.jar locale; \ - cd ..; ${RM} -rf $$lang; cd ..; \ - ${REINPLACE_CMD} -i "" "s,chrome/$$lang,jar:chrome/$$lang.jar!," chrome.manifest; \ + cd ${WRKSRC}/langpack-$$lang@firefox.mozilla.org/; \ + ${FIND} -H -s * ! -type d | \ + ${SED} -e "s|^|lib/xpi/langpack-$$lang@firefox.mozilla.org/|" >> ${PLISTF} && \ + ${FIND} -d * -type d | \ + ${SED} -e "s|^|@dirrm lib/xpi/langpack-$$lang@firefox.mozilla.org/|" >> ${PLISTD}; \ done + ${CAT} ${PLISTF} | ${SORT} >> ${PLIST} + ${CAT} ${PLISTD} | ${SORT} -r >> ${PLIST} .if !exists(${OPTIONSFILE}) && !defined(PACKAGE_BUILDING) pre-configure: config diff --git a/www/firefox-i18n/Makefile b/www/firefox-i18n/Makefile index b188a837e787..0beeebda31f4 100644 --- a/www/firefox-i18n/Makefile +++ b/www/firefox-i18n/Makefile @@ -7,6 +7,7 @@ PORTNAME= firefox-i18n PORTVERSION= 10.0.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITE_SUBDIR= firefox/releases/${PORTVERSION}esr/linux-i686/xpi PKGNAMEPREFIX= @@ -27,6 +28,10 @@ WDIR= langpack-*@firefox.mozilla.org XPI_DISTNAMES= ${FIREFOX_I18N_} +PLIST?= ${WRKDIR}/plist +PLISTD?= ${WRKDIR}/plist_dirs +PLISTF?= ${WRKDIR}/plist_files + .include "${.CURDIR}/Makefile.option" .include <bsd.port.pre.mk> @@ -40,8 +45,6 @@ FIREFOX_I18N_?= ${FIREFOX_I18N} .for dist in ${XPI_DISTNAMES} XPI_ID_${dist}= langpack-${dist}@firefox.mozilla.org -XPI_FILES_${dist}= chrome.manifest install.rdf chrome/${dist}.jar -XPI_DIRS_${dist}= chrome .endfor pre-everything:: @@ -56,11 +59,14 @@ do-extract: then \ exit 1; \ fi; \ - cd ${WRKSRC}/langpack-$$lang@firefox.mozilla.org/chrome/$$lang; \ - ${LOCALBASE}/bin/zip -r ../$$lang.jar locale; \ - cd ..; ${RM} -rf $$lang; cd ..; \ - ${REINPLACE_CMD} -i "" "s,chrome/$$lang,jar:chrome/$$lang.jar!," chrome.manifest; \ + cd ${WRKSRC}/langpack-$$lang@firefox.mozilla.org/; \ + ${FIND} -H -s * ! -type d | \ + ${SED} -e "s|^|lib/xpi/langpack-$$lang@firefox.mozilla.org/|" >> ${PLISTF} && \ + ${FIND} -d * -type d | \ + ${SED} -e "s|^|@dirrm lib/xpi/langpack-$$lang@firefox.mozilla.org/|" >> ${PLISTD}; \ done + ${CAT} ${PLISTF} | ${SORT} >> ${PLIST} + ${CAT} ${PLISTD} | ${SORT} -r >> ${PLIST} .if !exists(${OPTIONSFILE}) && !defined(PACKAGE_BUILDING) pre-configure: config diff --git a/www/seamonkey-i18n/Makefile b/www/seamonkey-i18n/Makefile index 5563a79751e8..d07e16530b08 100644 --- a/www/seamonkey-i18n/Makefile +++ b/www/seamonkey-i18n/Makefile @@ -7,6 +7,7 @@ PORTNAME= seamonkey-i18n PORTVERSION= 2.8 +PORTREVISION= 1 CATEGORIES= www MASTER_SITE_SUBDIR= seamonkey/releases/${PORTVERSION}/langpack PKGNAMEPREFIX= @@ -18,6 +19,10 @@ COMMENT= Localized interface for SeaMonkey EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip +PLIST?= ${WRKDIR}/plist +PLISTD?= ${WRKDIR}/plist_dirs +PLISTF?= ${WRKDIR}/plist_files + USE_SEAMONKEY= 28 USE_XPI= seamonkey linux-seamonkey @@ -39,8 +44,6 @@ SEAMONKEY_I18N_?= ${SEAMONKEY_I18N} .for dist in ${XPI_DISTNAMES} XPI_ID_${dist}= langpack-${dist}@seamonkey.mozilla.org -XPI_FILES_${dist}= chrome.manifest install.rdf chrome/${dist}.jar -XPI_DIRS_${dist}= chrome .endfor pre-everything:: @@ -55,11 +58,14 @@ do-extract: then \ exit 1; \ fi; \ - cd ${WRKSRC}/langpack-$$lang@seamonkey.mozilla.org/chrome/$$lang; \ - ${LOCALBASE}/bin/zip -r ../$$lang.jar locale; \ - cd ..; ${RM} -rf $$lang; cd ..; \ - ${REINPLACE_CMD} -i "" "s,chrome/$$lang,jar:chrome/$$lang.jar!," chrome.manifest; \ + cd ${WRKSRC}/langpack-$$lang@seamonkey.mozilla.org/; \ + ${FIND} -H -s * ! -type d | \ + ${SED} -e "s|^|lib/xpi/langpack-$$lang@seamonkey.mozilla.org/|" >> ${PLISTF} && \ + ${FIND} -d * -type d | \ + ${SED} -e "s|^|@dirrm lib/xpi/langpack-$$lang@seamonkey.mozilla.org/|" >> ${PLISTD}; \ done + ${CAT} ${PLISTF} | ${SORT} >> ${PLIST} + ${CAT} ${PLISTD} | ${SORT} -r >> ${PLIST} do-install: @${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL} |