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.4.3.tar.gz:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 USES= gmake gettext iconv
25 LICENSE= BSD2CLAUSE:primary
26 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING.txt
29 MAKE_ARGS= prefix="{{PREFIX}}"
33 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dos2unix
34 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/unix2dos
36 [FILE:1116:descriptions/desc.primary]
37 Dos2Unix / Unix2Dos - Text file format converters
39 This is an update of Benjamin Lin's implementations of dos2unix and
40 unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos were
41 distributed via SunSITE.unc.edu (later MetaLab.unc.edu, now ibiblio) and
42 became part of several Linux distributions such as RedHat, Suse, Gentoo,
43 and others. This update includes all RedHat patches and fixes several
44 other problems. Internationalization has been added and ports to DOS,
45 Windows, Cygwin and OS/2 Warp have been made.
47 These implementations of dos2unix and unix2dos have been modelled after
48 dos2unix/unix2dos under SunOS/Solaris. The first versions were made by
49 John Birchfield in 1989, and in 1995 rewritten from scratch by Benjamin
50 Lin. Mac to Unix conversion was added by Bernd Johannes Wuebben in 1998,
51 Unix to Mac conversion by Erwin Waterlander in 2010.
53 In 2010 the two separate dos2unix and unix2dos packages have been bundled
54 into a single dos2unix package (version 5.0). Support for Unicode UTF-16
55 was added in 2012 (version 6.0). Version 7.0, in 2014, was a major code
56 cleanup and added a test suite.
60 b68db41956daf933828423aa30510e00c12d29ef5916e715e8d4e694fe66ca72 788278 dos2unix-7.4.3.tar.gz
63 [FILE:917:manifests/plist.primary]
119 share/man/zh_CN/man1/
126 [FILE:647:manifests/plist.docs]
137 share/doc/dos2unix/de/
140 share/doc/dos2unix/es/
143 share/doc/dos2unix/fr/
146 share/doc/dos2unix/nl/
149 share/doc/dos2unix/pl/
152 share/doc/dos2unix/pt_BR/
155 share/doc/dos2unix/sr/
158 share/doc/dos2unix/sv/
161 share/doc/dos2unix/uk/
164 share/doc/dos2unix/zh_CN/
169 [FILE:770:manifests/plist.nls]
170 share/locale/da/LC_MESSAGES/dos2unix.mo
171 share/locale/de/LC_MESSAGES/dos2unix.mo
172 share/locale/eo/LC_MESSAGES/dos2unix.mo
173 share/locale/es/LC_MESSAGES/dos2unix.mo
174 share/locale/fr/LC_MESSAGES/dos2unix.mo
175 share/locale/fur/LC_MESSAGES/dos2unix.mo
176 share/locale/hu/LC_MESSAGES/dos2unix.mo
177 share/locale/ja/LC_MESSAGES/dos2unix.mo
178 share/locale/nb/LC_MESSAGES/dos2unix.mo
179 share/locale/nl/LC_MESSAGES/dos2unix.mo
180 share/locale/pl/LC_MESSAGES/dos2unix.mo
181 share/locale/pt_BR/LC_MESSAGES/dos2unix.mo
182 share/locale/ru/LC_MESSAGES/dos2unix.mo
183 share/locale/sr/LC_MESSAGES/dos2unix.mo
184 share/locale/sv/LC_MESSAGES/dos2unix.mo
185 share/locale/uk/LC_MESSAGES/dos2unix.mo
186 share/locale/vi/LC_MESSAGES/dos2unix.mo
187 share/locale/zh_CN/LC_MESSAGES/dos2unix.mo
188 share/locale/zh_TW/LC_MESSAGES/dos2unix.mo
191 [FILE:1111:patches/patch-Makefile]
192 --- Makefile.orig 2022-06-05 12:23:28 UTC
194 @@ -76,7 +76,7 @@ bindir = $(exec_prefix)/bin
195 datarootdir = $(prefix)/share
196 datadir = $(datarootdir)
198 -docsubdir = $(PACKAGE)-$(DOS2UNIX_VERSION)
199 +docsubdir = $(PACKAGE)
200 docdir = $(datarootdir)/doc/$(docsubdir)
201 localedir = $(datarootdir)/locale
202 mandir = $(datarootdir)/man
203 @@ -290,25 +290,13 @@ endif
204 EXTRA_DEFS += -Dfreemint -D__OS=\"freemint\"
207 -ifeq (freebsd,$(D2U_OS))
208 +# all systems including Linux
210 - CFLAGS_OS = -I/usr/local/include
211 - LDFLAGS_EXTRA = -L/usr/local/lib
212 - LIBS_EXTRA = -lintl
216 -ifeq (darwin,$(D2U_OS))
218 - CFLAGS_OS = -I/usr/local/include
219 - LDFLAGS_EXTRA = -L/usr/local/lib
220 - LIBS_EXTRA = -lintl
224 -ifeq (sun,$(D2U_OS))
225 - # Running under SunOS/Solaris
226 - LIBS_EXTRA = -lintl
227 + ifeq (linux,$(D2U_OS))
228 + LIBS_EXTRA = -liconv
230 + LIBS_EXTRA = -lintl -liconv
234 ifeq (hp-ux,$(D2U_OS))