summaryrefslogtreecommitdiff
path: root/www/bins
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-10-19 18:16:40 +0000
committerdmcmahill <dmcmahill>2002-10-19 18:16:40 +0000
commit10b82c40ad927970dc3b04e649a1d4799fa4e84f (patch)
tree84e3b2bfde82bce850437b1bfb6d02e62ed23efb /www/bins
parent15855ea98b30919965e05e41f7481ab6586c5fc8 (diff)
downloadpkgsrc-10b82c40ad927970dc3b04e649a1d4799fa4e84f.tar.gz
add dependency on p5-gettext and patch the locale directory path.
This enables changing locale's. Noted in private email from Eric Jacoboni (jaco at scrogneugneu dot org)
Diffstat (limited to 'www/bins')
-rw-r--r--www/bins/Makefile8
-rw-r--r--www/bins/distinfo4
-rw-r--r--www/bins/patches/patch-aa15
3 files changed, 17 insertions, 10 deletions
diff --git a/www/bins/Makefile b/www/bins/Makefile
index 01c81a3f081..b526b784075 100644
--- a/www/bins/Makefile
+++ b/www/bins/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2002/09/25 00:09:32 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.12 2002/10/19 18:16:40 dmcmahill Exp $
#
DISTNAME= bins-1.1.17
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www graphics
MASTER_SITES= http://jsautret.free.fr/BINS/
EXTRACT_SUFX= .tar.bz2
@@ -11,6 +11,7 @@ MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://bins.sautret.org/
COMMENT= static HTML photo album generator
+DEPENDS+= p5-gettext>=1.01:../../devel/p5-gettext
DEPENDS+= p5-Text-Iconv>=1.1:../../converters/p5-Text-Iconv
DEPENDS+= p5-Storable>=2.04:../../devel/p5-Storable
DEPENDS+= p5-Image-Info>=1.10:../../graphics/p5-Image-Info
@@ -33,7 +34,8 @@ REPLACE_PERL= bins bins_edit bins-edit-gui bins_txt2xml
post-patch:
${MV} ${WRKSRC}/bins ${WRKSRC}/bins.bak
- ${SED} 's;@pkgsysconfdir@;${PKG_SYSCONFDIR};g' \
+ ${SED} -e 's;@pkgsysconfdir@;${PKG_SYSCONFDIR};g' \
+ -e 's;@pkglocaledir@;${PREFIX}/${PKGLOCALEDIR}/locale;g' \
${WRKSRC}/bins.bak > ${WRKSRC}/bins
do-install:
diff --git a/www/bins/distinfo b/www/bins/distinfo
index c39d70597c2..f6eb6e55092 100644
--- a/www/bins/distinfo
+++ b/www/bins/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2002/09/25 00:28:27 wiz Exp $
+$NetBSD: distinfo,v 1.10 2002/10/19 18:16:40 dmcmahill Exp $
SHA1 (bins-1.1.17.tar.bz2) = d493f19e90a3959244fd799b52485f3c3f479040
Size (bins-1.1.17.tar.bz2) = 135718 bytes
-SHA1 (patch-aa) = ea3bd4353b1834374b065af1224bcbdfeb4f7d2d
+SHA1 (patch-aa) = 4b8462d133f55af9c927786b9957398427a122d7
SHA1 (patch-ab) = e0150b689057e09641c9f87f75cf0da99f20bbe6
diff --git a/www/bins/patches/patch-aa b/www/bins/patches/patch-aa
index 5197664e652..43b4cf49e7b 100644
--- a/www/bins/patches/patch-aa
+++ b/www/bins/patches/patch-aa
@@ -1,11 +1,16 @@
-$NetBSD: patch-aa,v 1.6 2002/09/24 02:01:30 dmcmahill Exp $
-
-
-no 'locale' command on netbsd so deal with `locale charmap` not returning
-correctly.
+$NetBSD: patch-aa,v 1.7 2002/10/19 18:16:40 dmcmahill Exp $
--- bins.orig Sat Sep 21 09:50:14 2002
+++ bins
+@@ -86,7 +86,7 @@ sub _; # alias for Getext, if present
+ ############################################################################
+
+ # I18N
+-my $localePath = "/usr/local/share/locale"; # Base locale path (for I18N)
++my $localePath = "@pkglocaledir@"; # Base locale path (for I18N)
+
+ my $I18N = have_package("Locale::gettext");
+ if ($I18N) {
@@ -301,7 +301,7 @@ my %defaultConfig =
# any new options need corresponding new documentation.