* 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]
This commit is contained in:
Vasil Dimov 2007-04-11 19:38:50 +00:00
parent fccaeeca4e
commit 3ff98d4e94
4 changed files with 24 additions and 14 deletions

View file

@ -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

View file

@ -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

View file

@ -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
#

View file

@ -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