1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= DOS/MAC to UNIX Text File Format Converter
8 HOMEPAGE= https://waterlan.home.xs4all.nl/dos2unix.html
12 SITES[main]= https://waterlan.home.xs4all.nl/dos2unix/
13 DISTFILE[1]= dos2unix-7.5.0.tar.gz:main
15 SPKGS[standard]= complete
21 OPTIONS_AVAILABLE= none
22 OPTIONS_STANDARD= none
24 USES= gmake gettext iconv
26 LICENSE= BSD2CLAUSE:primary
27 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING.txt
30 MAKE_ARGS= prefix="{{PREFIX}}"
34 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dos2unix
35 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/unix2dos
37 [FILE:1116:descriptions/desc.primary]
38 Dos2Unix / Unix2Dos - Text file format converters
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.
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.
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.
61 7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af 957576 dos2unix-7.5.0.tar.gz
64 [FILE:45:manifests/plist.primary]
72 [FILE:1030:manifests/plist.man]
108 share/man/pt_BR/man1/
133 share/man/zh_CN/man1/
140 [FILE:749:manifests/plist.docs]
151 share/doc/dos2unix/de/
154 share/doc/dos2unix/es/
157 share/doc/dos2unix/fr/
160 share/doc/dos2unix/ko/
163 share/doc/dos2unix/nl/
166 share/doc/dos2unix/pl/
169 share/doc/dos2unix/pt_BR/
172 share/doc/dos2unix/ro/
175 share/doc/dos2unix/sr/
178 share/doc/dos2unix/sv/
181 share/doc/dos2unix/uk/
184 share/doc/dos2unix/zh_CN/
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
215 [FILE:1111:patches/patch-Makefile]
216 --- Makefile.orig 2023-05-17 20:57:30 UTC
218 @@ -76,7 +76,7 @@ bindir = $(exec_prefix)/bin
219 datarootdir = $(prefix)/share
220 datadir = $(datarootdir)
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\"
231 -ifeq (freebsd,$(D2U_OS))
232 +# all systems including Linux
234 - CFLAGS_OS = -I/usr/local/include
235 - LDFLAGS_EXTRA = -L/usr/local/lib
236 - LIBS_EXTRA = -lintl
240 -ifeq (darwin,$(D2U_OS))
242 - CFLAGS_OS = -I/usr/local/include
243 - LDFLAGS_EXTRA = -L/usr/local/lib
244 - LIBS_EXTRA = -lintl
248 -ifeq (sun,$(D2U_OS))
249 - # Running under SunOS/Solaris
250 - LIBS_EXTRA = -lintl
251 + ifeq (linux,$(D2U_OS))
252 + LIBS_EXTRA = -liconv
254 + LIBS_EXTRA = -lintl -liconv
258 ifeq (hp-ux,$(D2U_OS))