summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-27 04:58:51 +0000
committerjlam <jlam@pkgsrc.org>2001-06-27 04:58:51 +0000
commit6013b55b848d01f5235dae24bbc335916e2f38b5 (patch)
treecbf67df16fb44d1b45a7d9e4f8a5f42d97239f7a
parent7b9c9cf9059252bc41330f69e6dff06711cb8e3a (diff)
downloadpkgsrc-6013b55b848d01f5235dae24bbc335916e2f38b5.tar.gz
- Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
- Handle PKGLOCALEDIR in PLIST.
-rw-r--r--net/wget/Makefile7
-rw-r--r--net/wget/distinfo3
-rw-r--r--net/wget/patches/patch-aa13
-rw-r--r--net/wget/pkg/PLIST40
4 files changed, 40 insertions, 23 deletions
diff --git a/net/wget/Makefile b/net/wget/Makefile
index b59fd461f8c..de52704b11a 100644
--- a/net/wget/Makefile
+++ b/net/wget/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2001/05/14 15:07:54 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2001/06/27 04:58:51 jlam Exp $
#
DISTNAME= wget-1.6
@@ -15,9 +15,11 @@ HOMEPAGE= http://www.gnu.org/software/wget/wget.html
COMMENT= Retrieve files from the 'net via HTTP and FTP
BUILD_USES_MSGFMT= yes
+USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
-USE_LIBINTL= yes
+#USE_LIBINTL= yes
+MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
INFO_FILES= wget.info
@@ -38,4 +40,5 @@ CONFIGURE_ARGS+= --disable-ipv6
post-patch:
${TOUCH} ${WRKSRC}/configure
+.include "../../devel/gettext-lib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/wget/distinfo b/net/wget/distinfo
index 3d8f7b18cc7..752524b2e01 100644
--- a/net/wget/distinfo
+++ b/net/wget/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2001/05/14 15:07:54 wiz Exp $
+$NetBSD: distinfo,v 1.5 2001/06/27 04:58:51 jlam Exp $
SHA1 (wget-1.6.tar.gz) = 5561c716a38170acb782bd5b6abe064940d13e20
Size (wget-1.6.tar.gz) = 670777 bytes
SHA1 (wget-16-v6-20010508b.diff.gz) = b205d1b8bab1884518bee0104bc6e881e1f0a8ad
Size (wget-16-v6-20010508b.diff.gz) = 23723 bytes
+SHA1 (patch-aa) = 98c944716c403d0501505fc52c69c898d7870ea5
diff --git a/net/wget/patches/patch-aa b/net/wget/patches/patch-aa
new file mode 100644
index 00000000000..98fe944f8a5
--- /dev/null
+++ b/net/wget/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2001/06/27 04:58:51 jlam Exp $
+
+--- Makefile.in.orig Sat Dec 30 23:46:03 2000
++++ Makefile.in
+@@ -39,7 +39,7 @@
+ sysconfdir = @sysconfdir@
+ mandir = @mandir@
+ manext = 1
+-localedir = $(prefix)/share/locale
++localedir = $(prefix)/${PKGLOCALEDIR}/locale
+
+ CC = @CC@
+ CFLAGS = @CFLAGS@
diff --git a/net/wget/pkg/PLIST b/net/wget/pkg/PLIST
index ba3b518abad..a49475c9e8a 100644
--- a/net/wget/pkg/PLIST
+++ b/net/wget/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2001/01/11 04:37:53 itojun Exp $
+@comment $NetBSD: PLIST,v 1.7 2001/06/27 04:58:52 jlam Exp $
bin/wget
etc/wgetrc
@unexec install-info --delete %D/info/wget.info %D/info/dir
@@ -7,22 +7,22 @@ info/wget.info-1
info/wget.info-2
info/wget.info-3
@exec install-info %D/info/wget.info %D/info/dir
-share/locale/cs/LC_MESSAGES/wget.mo
-share/locale/da/LC_MESSAGES/wget.mo
-share/locale/de/LC_MESSAGES/wget.mo
-share/locale/el/LC_MESSAGES/wget.mo
-share/locale/et/LC_MESSAGES/wget.mo
-share/locale/fr/LC_MESSAGES/wget.mo
-share/locale/gl/LC_MESSAGES/wget.mo
-share/locale/hr/LC_MESSAGES/wget.mo
-share/locale/it/LC_MESSAGES/wget.mo
-share/locale/ja/LC_MESSAGES/wget.mo
-share/locale/nl/LC_MESSAGES/wget.mo
-share/locale/no/LC_MESSAGES/wget.mo
-share/locale/pl/LC_MESSAGES/wget.mo
-share/locale/pt_BR/LC_MESSAGES/wget.mo
-share/locale/ru/LC_MESSAGES/wget.mo
-share/locale/sk/LC_MESSAGES/wget.mo
-share/locale/sl/LC_MESSAGES/wget.mo
-share/locale/sv/LC_MESSAGES/wget.mo
-share/locale/zh/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/zh/LC_MESSAGES/wget.mo