aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2007-04-12 03:38:50 +0800
committervd <vd@FreeBSD.org>2007-04-12 03:38:50 +0800
commitf06d4dfde8ebd4b0607775eaab2b0d53ea6f857e (patch)
tree5226a2d78475f546b4162fa7df17136435c6f225
parentbad3610612e6af49b5d7c05be0fcf447b788f4ca (diff)
downloadfreebsd-ports-gnome-f06d4dfde8ebd4b0607775eaab2b0d53ea6f857e.tar.gz
freebsd-ports-gnome-f06d4dfde8ebd4b0607775eaab2b0d53ea6f857e.tar.zst
freebsd-ports-gnome-f06d4dfde8ebd4b0607775eaab2b0d53ea6f857e.zip
* Install wgetrc as etc/wgetrc.sample rather than etc/wgetrc to prevent
users' modifications loss [1]. * Use the situation to rename files/patch-ac to files/patch-doc_Makefile.in according to /usr/ports/Tools/scripts/splitpatch.pl convention. Inspired by: ports/110512 [1] Submitted by: Alexander Logvinov <ports@logvinov.com> [1]
-rw-r--r--ftp/wget/Makefile5
-rw-r--r--ftp/wget/files/patch-ac11
-rw-r--r--ftp/wget/files/patch-doc_Makefile.in20
-rw-r--r--ftp/wget/pkg-plist2
4 files changed, 24 insertions, 14 deletions
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile
index adb3fafc5847..64e7bab8aee4 100644
--- a/ftp/wget/Makefile
+++ b/ftp/wget/Makefile
@@ -7,6 +7,7 @@
PORTNAME= wget
DISTVERSION= 1.10.2
+PORTREVISION= 1
CATEGORIES= ftp www ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= wget
@@ -19,8 +20,8 @@ USE_GETTEXT= yes
.endif
USE_GMAKE= yes
-USE_PERL5_BUILD= yes
-GNU_CONFIGURE= yes
+USE_PERL5_BUILD=yes
+GNU_CONFIGURE= yes
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS= --with-ssl=no
diff --git a/ftp/wget/files/patch-ac b/ftp/wget/files/patch-ac
deleted file mode 100644
index 5fba79b376b3..000000000000
--- a/ftp/wget/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- doc/Makefile.in.orig Sun Dec 31 14:07:09 2000
-+++ doc/Makefile.in Mon Jan 15 04:52:47 2001
-@@ -22,7 +22,7 @@
- SHELL = /bin/sh
-
- # Program to format Texinfo source into Info files.
--MAKEINFO = @MAKEINFO@
-+MAKEINFO = @MAKEINFO@ --no-split
- # Program to format Texinfo source into DVI files.
- TEXI2DVI = texi2dvi
- # Program to convert DVI files to PostScript
diff --git a/ftp/wget/files/patch-doc_Makefile.in b/ftp/wget/files/patch-doc_Makefile.in
new file mode 100644
index 000000000000..c14f30d440ee
--- /dev/null
+++ b/ftp/wget/files/patch-doc_Makefile.in
@@ -0,0 +1,20 @@
+--- doc/Makefile.in.orig Mon Jun 6 23:42:17 2005
++++ doc/Makefile.in Wed Apr 11 22:18:59 2007
+@@ -22,7 +22,7 @@
+ SHELL = /bin/sh
+
+ # Program to format Texinfo source into Info files.
+-MAKEINFO = @MAKEINFO@
++MAKEINFO = @MAKEINFO@ --no-split
+ # Program to format Texinfo source into DVI files.
+ TEXI2DVI = texi2dvi
+ # Program to convert DVI files to PostScript
+@@ -51,7 +51,7 @@
+ TEXI2POD = texi2pod.pl
+ POD2MAN = @POD2MAN@
+ MAN = wget.$(manext)
+-WGETRC = $(sysconfdir)/wgetrc
++WGETRC = $(sysconfdir)/wgetrc.sample
+ SAMPLERCTEXI = sample.wgetrc.munged_for_texi_inclusion
+
+ #
diff --git a/ftp/wget/pkg-plist b/ftp/wget/pkg-plist
index bce1e9adf77a..03c8477b6453 100644
--- a/ftp/wget/pkg-plist
+++ b/ftp/wget/pkg-plist
@@ -1,5 +1,5 @@
bin/wget
-etc/wgetrc
+etc/wgetrc.sample
%%NLS%%share/locale/bg/LC_MESSAGES/wget.mo
%%NLS%%share/locale/ca/LC_MESSAGES/wget.mo
%%NLS%%share/locale/cs/LC_MESSAGES/wget.mo