summaryrefslogtreecommitdiff
path: root/misc/iso-codes
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2006-09-23 20:52:46 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2006-09-23 20:52:46 +0000
commita4024f4c3f595bfd609fc49333af30b35e474232 (patch)
tree14a70b444d5ab0fc289dbb699d8a1064999ed528 /misc/iso-codes
parentReassign from inactive maintainer, to new maintainer who has been submitting (diff)
- 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)
Notes
Notes: svn path=/head/; revision=173669
Diffstat (limited to 'misc/iso-codes')
-rw-r--r--misc/iso-codes/Makefile18
-rw-r--r--misc/iso-codes/distinfo6
-rw-r--r--misc/iso-codes/files/patch-rules.make12
-rw-r--r--misc/iso-codes/pkg-plist6
4 files changed, 9 insertions, 33 deletions
diff --git a/misc/iso-codes/Makefile b/misc/iso-codes/Makefile
index 3715419c7ff1..cf47e7332281 100644
--- a/misc/iso-codes/Makefile
+++ b/misc/iso-codes/Makefile
@@ -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>
diff --git a/misc/iso-codes/distinfo b/misc/iso-codes/distinfo
index 570678c52c2c..dc8e262a367b 100644
--- a/misc/iso-codes/distinfo
+++ b/misc/iso-codes/distinfo
@@ -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
diff --git a/misc/iso-codes/files/patch-rules.make b/misc/iso-codes/files/patch-rules.make
deleted file mode 100644
index d09e9fca7893..000000000000
--- a/misc/iso-codes/files/patch-rules.make
+++ /dev/null
@@ -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:
diff --git a/misc/iso-codes/pkg-plist b/misc/iso-codes/pkg-plist
index 7af1264f41c2..80f97feac2a3 100644
--- a/misc/iso-codes/pkg-plist
+++ b/misc/iso-codes/pkg-plist
@@ -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%%