- Update to 0.53

- Add local mirror
- Remove stale patch (merged to upstream)

PR:		103371
Submitted by:	Rainer Alves <rainer.alves at gmail.com> (maintainer)
This commit is contained in:
Boris Samorodov 2006-09-23 20:52:46 +00:00
parent b7f10f08c3
commit a4024f4c3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173669
4 changed files with 9 additions and 33 deletions

View file

@ -6,10 +6,11 @@
#
PORTNAME= iso-codes
DISTVERSION= 0.51-1.1
DISTVERSION= 0.53
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${DISTVERSION}
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} \
http://freebsd.powered.net/distfiles/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= rainer.alves@gmail.com
COMMENT= Lists of the country, language and currency iso names
@ -25,15 +26,4 @@ AUTOMAKE_ARGS+= --add-missing --foreign --copy
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C/-.*$//}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|!/usr/bin/python|!${LOCALBASE}/bin/python|g' \
${WRKSRC}/iso2pot.py ${WRKSRC}/iso2tab.py \
${WRKSRC}/iso_3166/iso3166tab.py ${WRKSRC}/iso_639/iso639tab.py
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/iso_3166/iso_3166_2/iso_3166_2.tab \
${PREFIX}/share/iso-codes/iso_3166_2.tab
@${INSTALL_SCRIPT} ${WRKSRC}/iso_4217/iso_4217.tab \
${PREFIX}/share/iso-codes/iso_4217.tab
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (iso-codes_0.51-1.1.tar.gz) = c094c957bd929c430e94dbc379cc2869
SHA256 (iso-codes_0.51-1.1.tar.gz) = efc509fb4a81576860dcf808db157359523b15f82bcc128215cc31fc7db5f214
SIZE (iso-codes_0.51-1.1.tar.gz) = 8848718
MD5 (iso-codes_0.53.orig.tar.gz) = 8459445fd437e3dbe5d4b03478cd29f5
SHA256 (iso-codes_0.53.orig.tar.gz) = 87e3f8fdeb4325c63c100f2ffb9521bae60c718795a6b712e954401ec477fc06
SIZE (iso-codes_0.53.orig.tar.gz) = 8830752

View file

@ -1,12 +0,0 @@
--- rules.make.orig Sat Apr 15 06:19:19 2006
+++ rules.make Sat Apr 15 06:20:57 2006
@@ -12,7 +12,8 @@
cat=`basename $$cat`; \
lang=`echo $$cat | sed 's/\.mo$$//'`; \
dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
- $(INSTALL_DATA) -D $$cat $$dir/$(DOMAIN).mo; \
+ mkdir -p $$dir; \
+ $(INSTALL_DATA) $$cat $$dir/$(DOMAIN).mo; \
done
uninstall-hook:

View file

@ -1,7 +1,5 @@
libdata/pkgconfig/iso-codes.pc
%%DATADIR%%/iso_3166.tab
%%DATADIR%%/iso_3166_2.tab
%%DATADIR%%/iso_4217.tab
%%DATADIR%%/iso_639.tab
share/locale/aa/LC_MESSAGES/iso_3166.mo
share/locale/aa/LC_MESSAGES/iso_639.mo
@ -475,7 +473,7 @@ share/xml/iso-codes/iso_639_3.xml
@dirrmtry share/locale/om/LC_MESSAGES
@dirrmtry share/locale/om
@dirrmtry share/locale/oc/LC_MESSAGES
@dirrmtry share/locale/oc/
@dirrmtry share/locale/oc
@dirrmtry share/locale/nso/LC_MESSAGES
@dirrmtry share/locale/nso
@dirrmtry share/locale/no/LC_MESSAGES
@ -536,4 +534,4 @@ share/xml/iso-codes/iso_639_3.xml
@dirrmtry share/locale/be
@dirrmtry share/locale/aa/LC_MESSAGES
@dirrmtry share/locale/aa
@dirrm share/iso-codes
@dirrm %%DATADIR%%