pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/dos2unix Import dos2unix-5.3.3 as converter...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a77ce0ef1537
branches: trunk
changeset: 602329:a77ce0ef1537
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Wed Apr 11 17:45:39 2012 +0000
description:
Import dos2unix-5.3.3 as converters/dos2unix.
dos2unix includes utilities to convert text files with DOS or MAC
line endings to Unix line endings and vice versa. It is an update
of Benjamin Lin's implementations.
diffstat:
converters/dos2unix/DESCR | 3 ++
converters/dos2unix/Makefile | 23 ++++++++++++++++++++
converters/dos2unix/PLIST | 29 ++++++++++++++++++++++++++
converters/dos2unix/distinfo | 6 +++++
converters/dos2unix/patches/patch-Makefile | 33 ++++++++++++++++++++++++++++++
5 files changed, 94 insertions(+), 0 deletions(-)
diffs (114 lines):
diff -r 70c1c0a2b669 -r a77ce0ef1537 converters/dos2unix/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dos2unix/DESCR Wed Apr 11 17:45:39 2012 +0000
@@ -0,0 +1,3 @@
+dos2unix includes utilities to convert text files with DOS or MAC
+line endings to Unix line endings and vice versa. It is an update
+of Benjamin Lin's implementations.
diff -r 70c1c0a2b669 -r a77ce0ef1537 converters/dos2unix/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dos2unix/Makefile Wed Apr 11 17:45:39 2012 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/04/11 17:45:39 ryoon Exp $
+#
+
+DISTNAME= dos2unix-5.3.3
+CATEGORIES= converters
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dos2unix/}
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= http://waterlan.home.xs4all.nl/dos2unix.html
+COMMENT= Convert text files with DOS or Mac line endings to Unix line endings
+LICENSE= 2-clause-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFLICTS= unix2dos-[0-9]*
+
+USE_TOOLS+= gmake msgfmt xgettext perl
+
+BUILD_MAKE_FLAGS+= LDFLAGS_EXTRA+=-lintl
+INSTALL_MAKE_FLAGS+= prefix=${PREFIX}
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 70c1c0a2b669 -r a77ce0ef1537 converters/dos2unix/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dos2unix/PLIST Wed Apr 11 17:45:39 2012 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/04/11 17:45:39 ryoon Exp $
+bin/dos2unix
+bin/mac2unix
+bin/unix2dos
+bin/unix2mac
+man/es/man1/dos2unix.1
+man/es/man1/mac2unix.1
+man/es/man1/unix2dos.1
+man/es/man1/unix2mac.1
+man/man1/dos2unix.1
+man/man1/mac2unix.1
+man/man1/unix2dos.1
+man/man1/unix2mac.1
+man/nl/man1/dos2unix.1
+man/nl/man1/mac2unix.1
+man/nl/man1/unix2dos.1
+man/nl/man1/unix2mac.1
+share/doc/${PKGNAME}/BUGS.txt
+share/doc/${PKGNAME}/COPYING.txt
+share/doc/${PKGNAME}/ChangeLog.txt
+share/doc/${PKGNAME}/NEWS.txt
+share/doc/${PKGNAME}/README.txt
+share/doc/${PKGNAME}/TODO.txt
+share/doc/${PKGNAME}/dos2unix.htm
+share/doc/${PKGNAME}/dos2unix.txt
+share/locale/de/LC_MESSAGES/dos2unix.mo
+share/locale/eo/LC_MESSAGES/dos2unix.mo
+share/locale/es/LC_MESSAGES/dos2unix.mo
+share/locale/nl/LC_MESSAGES/dos2unix.mo
diff -r 70c1c0a2b669 -r a77ce0ef1537 converters/dos2unix/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dos2unix/distinfo Wed Apr 11 17:45:39 2012 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/04/11 17:45:39 ryoon Exp $
+
+SHA1 (dos2unix-5.3.3.tar.gz) = 4a23f2b4e5d68a71119ae453b9045b7b7efd6f4a
+RMD160 (dos2unix-5.3.3.tar.gz) = cd2ebfcc94f19387f70da07ede3adb0e3e256ed5
+Size (dos2unix-5.3.3.tar.gz) = 58085 bytes
+SHA1 (patch-Makefile) = cf13e5b8dbe9d0b5d1a1ce024697d0970806df1e
diff -r 70c1c0a2b669 -r a77ce0ef1537 converters/dos2unix/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dos2unix/patches/patch-Makefile Wed Apr 11 17:45:39 2012 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-Makefile,v 1.1.1.1 2012/04/11 17:45:39 ryoon Exp $
+
+* install man pages to ${PREFIX}/man
+* do not generate ps, pdf, and html documents
+
+--- Makefile.orig 2012-03-10 08:04:59.000000000 +0000
++++ Makefile
+@@ -70,7 +70,7 @@ datadir = $(datarootdir)
+ docsubdir = $(PACKAGE)-$(DOS2UNIX_VERSION)
+ docdir = $(datarootdir)/doc/$(docsubdir)
+ localedir = $(datarootdir)/locale
+-mandir = $(datarootdir)/man
++mandir = $(prefix)/${PKGMANDIR}
+ man1dir = $(mandir)/man1
+ manext = .1
+ man1ext = .1
+@@ -321,11 +321,11 @@ else
+ cd $(DESTDIR)$(man1dir); $(LINK_MAN) $(PACKAGE).1 $(UNIX2DOS).1
+ cd $(DESTDIR)$(man1dir); $(LINK_MAN) $(PACKAGE).1 $(UNIX2MAC).1
+ endif
+- $(foreach manfile, $(MANFILES), $(MKDIR) -p -m 755 $(DESTDIR)$(datarootdir)/$(dir $(manfile)) ;)
+- $(foreach manfile, $(MANFILES), $(INSTALL) -m 644 $(manfile) $(DESTDIR)$(datarootdir)/$(dir $(manfile)) ;)
+- $(foreach manfile, $(MANFILES), cd $(DESTDIR)$(datarootdir)/$(dir $(manfile)) ; $(LINK_MAN) $(PACKAGE).1 $(MAC2UNIX).1 ;)
+- $(foreach manfile, $(MANFILES), cd $(DESTDIR)$(datarootdir)/$(dir $(manfile)) ; $(LINK_MAN) $(PACKAGE).1 $(UNIX2DOS).1 ;)
+- $(foreach manfile, $(MANFILES), cd $(DESTDIR)$(datarootdir)/$(dir $(manfile)) ; $(LINK_MAN) $(PACKAGE).1 $(UNIX2MAC).1 ;)
++ $(foreach manfile, $(MANFILES), $(MKDIR) -p -m 755 $(DESTDIR)$(prefix)/$(dir $(manfile)) ;)
++ $(foreach manfile, $(MANFILES), $(INSTALL) -m 644 $(manfile) $(DESTDIR)$(prefix)/$(dir $(manfile)) ;)
++ $(foreach manfile, $(MANFILES), cd $(DESTDIR)$(prefix)/$(dir $(manfile)) ; $(LINK_MAN) $(PACKAGE).1 $(MAC2UNIX).1 ;)
++ $(foreach manfile, $(MANFILES), cd $(DESTDIR)$(prefix)/$(dir $(manfile)) ; $(LINK_MAN) $(PACKAGE).1 $(UNIX2DOS).1 ;)
++ $(foreach manfile, $(MANFILES), cd $(DESTDIR)$(prefix)/$(dir $(manfile)) ; $(LINK_MAN) $(PACKAGE).1 $(UNIX2MAC).1 ;)
+ ifdef ENABLE_NLS
+ @echo "-- install-mo"
+ $(foreach mofile, $(MOFILES), $(MKDIR) -p -m 755 $(DESTDIR)$(localedir)/$(basename $(notdir $(mofile)))/LC_MESSAGES ;)
Home |
Main Index |
Thread Index |
Old Index