Ravenports generated: 19 May 2023 23:12
[ravenports.git] / bucket_A6 / dos2unix
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               dos2unix
4 VERSION=                7.5.0
5 KEYWORDS=               converters
6 VARIANTS=               standard
7 SDESC[standard]=        DOS/MAC to UNIX Text File Format Converter
8 HOMEPAGE=               https://waterlan.home.xs4all.nl/dos2unix.html
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://waterlan.home.xs4all.nl/dos2unix/
13 DISTFILE[1]=            dos2unix-7.5.0.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         man
18                         docs
19                         nls
20
21 OPTIONS_AVAILABLE=      none
22 OPTIONS_STANDARD=       none
23
24 USES=                   gmake gettext iconv
25
26 LICENSE=                BSD2CLAUSE:primary
27 LICENSE_FILE=           BSD2CLAUSE:{{WRKSRC}}/COPYING.txt
28 LICENSE_SCHEME=         solo
29
30 MAKE_ARGS=              prefix="{{PREFIX}}"
31                         ENABLE_NLS=yes
32
33 post-install:
34         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dos2unix
35         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/unix2dos
36
37 [FILE:1116:descriptions/desc.primary]
38 Dos2Unix / Unix2Dos - Text file format converters
39
40 This is an update of Benjamin Lin's implementations of dos2unix and
41 unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos were
42 distributed via SunSITE.unc.edu (later MetaLab.unc.edu, now ibiblio) and
43 became part of several Linux distributions such as RedHat, Suse, Gentoo,
44 and others. This update includes all RedHat patches and fixes several
45 other problems. Internationalization has been added and ports to DOS,
46 Windows, Cygwin and OS/2 Warp have been made.
47
48 These implementations of dos2unix and unix2dos have been modelled after
49 dos2unix/unix2dos under SunOS/Solaris. The first versions were made by
50 John Birchfield in 1989, and in 1995 rewritten from scratch by Benjamin
51 Lin. Mac to Unix conversion was added by Bernd Johannes Wuebben in 1998,
52 Unix to Mac conversion by Erwin Waterlander in 2010.
53
54 In 2010 the two separate dos2unix and unix2dos packages have been bundled
55 into a single dos2unix package (version 5.0). Support for Unicode UTF-16
56 was added in 2012 (version 6.0). Version 7.0, in 2014, was a major code
57 cleanup and added a test suite.
58
59
60 [FILE:100:distinfo]
61 7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af       957576 dos2unix-7.5.0.tar.gz
62
63
64 [FILE:45:manifests/plist.primary]
65 bin/
66  dos2unix
67  mac2unix
68  unix2dos
69  unix2mac
70
71
72 [FILE:1030:manifests/plist.man]
73 share/man/de/man1/
74  dos2unix.1.gz
75  mac2unix.1.gz
76  unix2dos.1.gz
77  unix2mac.1.gz
78 share/man/es/man1/
79  dos2unix.1.gz
80  mac2unix.1.gz
81  unix2dos.1.gz
82  unix2mac.1.gz
83 share/man/fr/man1/
84  dos2unix.1.gz
85  mac2unix.1.gz
86  unix2dos.1.gz
87  unix2mac.1.gz
88 share/man/ko/man1/
89  dos2unix.1.gz
90  mac2unix.1.gz
91  unix2dos.1.gz
92  unix2mac.1.gz
93 share/man/man1/
94  dos2unix.1.gz
95  mac2unix.1.gz
96  unix2dos.1.gz
97  unix2mac.1.gz
98 share/man/nl/man1/
99  dos2unix.1.gz
100  mac2unix.1.gz
101  unix2dos.1.gz
102  unix2mac.1.gz
103 share/man/pl/man1/
104  dos2unix.1.gz
105  mac2unix.1.gz
106  unix2dos.1.gz
107  unix2mac.1.gz
108 share/man/pt_BR/man1/
109  dos2unix.1.gz
110  mac2unix.1.gz
111  unix2dos.1.gz
112  unix2mac.1.gz
113 share/man/ro/man1/
114  dos2unix.1.gz
115  mac2unix.1.gz
116  unix2dos.1.gz
117  unix2mac.1.gz
118 share/man/sr/man1/
119  dos2unix.1.gz
120  mac2unix.1.gz
121  unix2dos.1.gz
122  unix2mac.1.gz
123 share/man/sv/man1/
124  dos2unix.1.gz
125  mac2unix.1.gz
126  unix2dos.1.gz
127  unix2mac.1.gz
128 share/man/uk/man1/
129  dos2unix.1.gz
130  mac2unix.1.gz
131  unix2dos.1.gz
132  unix2mac.1.gz
133 share/man/zh_CN/man1/
134  dos2unix.1.gz
135  mac2unix.1.gz
136  unix2dos.1.gz
137  unix2mac.1.gz
138
139
140 [FILE:749:manifests/plist.docs]
141 share/doc/dos2unix/
142  BUGS.txt
143  COPYING.txt
144  ChangeLog.txt
145  INSTALL.txt
146  NEWS.txt
147  README.txt
148  TODO.txt
149  dos2unix.htm
150  dos2unix.txt
151 share/doc/dos2unix/de/
152  dos2unix.htm
153  dos2unix.txt
154 share/doc/dos2unix/es/
155  dos2unix.htm
156  dos2unix.txt
157 share/doc/dos2unix/fr/
158  dos2unix.htm
159  dos2unix.txt
160 share/doc/dos2unix/ko/
161  dos2unix.htm
162  dos2unix.txt
163 share/doc/dos2unix/nl/
164  dos2unix.htm
165  dos2unix.txt
166 share/doc/dos2unix/pl/
167  dos2unix.htm
168  dos2unix.txt
169 share/doc/dos2unix/pt_BR/
170  dos2unix.htm
171  dos2unix.txt
172 share/doc/dos2unix/ro/
173  dos2unix.htm
174  dos2unix.txt
175 share/doc/dos2unix/sr/
176  dos2unix.htm
177  dos2unix.txt
178 share/doc/dos2unix/sv/
179  dos2unix.htm
180  dos2unix.txt
181 share/doc/dos2unix/uk/
182  dos2unix.htm
183  dos2unix.txt
184 share/doc/dos2unix/zh_CN/
185  dos2unix.htm
186  dos2unix.txt
187
188
189 [FILE:930:manifests/plist.nls]
190 share/locale/ca/LC_MESSAGES/dos2unix.mo
191 share/locale/da/LC_MESSAGES/dos2unix.mo
192 share/locale/de/LC_MESSAGES/dos2unix.mo
193 share/locale/eo/LC_MESSAGES/dos2unix.mo
194 share/locale/es/LC_MESSAGES/dos2unix.mo
195 share/locale/fr/LC_MESSAGES/dos2unix.mo
196 share/locale/fur/LC_MESSAGES/dos2unix.mo
197 share/locale/hu/LC_MESSAGES/dos2unix.mo
198 share/locale/ja/LC_MESSAGES/dos2unix.mo
199 share/locale/ka/LC_MESSAGES/dos2unix.mo
200 share/locale/ko/LC_MESSAGES/dos2unix.mo
201 share/locale/nb/LC_MESSAGES/dos2unix.mo
202 share/locale/nl/LC_MESSAGES/dos2unix.mo
203 share/locale/pl/LC_MESSAGES/dos2unix.mo
204 share/locale/pt_BR/LC_MESSAGES/dos2unix.mo
205 share/locale/ro/LC_MESSAGES/dos2unix.mo
206 share/locale/ru/LC_MESSAGES/dos2unix.mo
207 share/locale/sr/LC_MESSAGES/dos2unix.mo
208 share/locale/sv/LC_MESSAGES/dos2unix.mo
209 share/locale/uk/LC_MESSAGES/dos2unix.mo
210 share/locale/vi/LC_MESSAGES/dos2unix.mo
211 share/locale/zh_CN/LC_MESSAGES/dos2unix.mo
212 share/locale/zh_TW/LC_MESSAGES/dos2unix.mo
213
214
215 [FILE:1111:patches/patch-Makefile]
216 --- Makefile.orig       2023-05-17 20:57:30 UTC
217 +++ Makefile
218 @@ -76,7 +76,7 @@ bindir          = $(exec_prefix)/bin
219  datarootdir     = $(prefix)/share
220  datadir         = $(datarootdir)
221  
222 -docsubdir       = $(PACKAGE)-$(DOS2UNIX_VERSION)
223 +docsubdir       = $(PACKAGE)
224  docdir          = $(datarootdir)/doc/$(docsubdir)
225  localedir       = $(datarootdir)/locale
226  mandir          = $(datarootdir)/man
227 @@ -290,25 +290,13 @@ endif
228          EXTRA_DEFS += -Dfreemint -D__OS=\"freemint\"
229  endif
230  
231 -ifeq (freebsd,$(D2U_OS))
232 +# all systems including Linux
233  ifdef ENABLE_NLS
234 -        CFLAGS_OS     = -I/usr/local/include
235 -        LDFLAGS_EXTRA = -L/usr/local/lib
236 -        LIBS_EXTRA    = -lintl
237 -endif
238 -endif
239 -
240 -ifeq (darwin,$(D2U_OS))
241 -ifdef ENABLE_NLS
242 -        CFLAGS_OS     = -I/usr/local/include
243 -        LDFLAGS_EXTRA = -L/usr/local/lib
244 -        LIBS_EXTRA    = -lintl
245 -endif
246 -endif
247 -
248 -ifeq (sun,$(D2U_OS))
249 -        # Running under SunOS/Solaris
250 -        LIBS_EXTRA = -lintl
251 +  ifeq (linux,$(D2U_OS))
252 +        LIBS_EXTRA    = -liconv
253 +  else
254 +        LIBS_EXTRA    = -lintl -liconv
255 +  endif
256  endif
257  
258  ifeq (hp-ux,$(D2U_OS))
259