diff options
-rw-r--r-- | textproc/unac/DESCR | 3 | ||||
-rw-r--r-- | textproc/unac/Makefile | 19 | ||||
-rw-r--r-- | textproc/unac/PLIST | 7 | ||||
-rw-r--r-- | textproc/unac/buildlink3.mk | 12 | ||||
-rw-r--r-- | textproc/unac/distinfo | 6 | ||||
-rw-r--r-- | textproc/unac/patches/patch-aa | 13 |
6 files changed, 60 insertions, 0 deletions
diff --git a/textproc/unac/DESCR b/textproc/unac/DESCR new file mode 100644 index 00000000000..802eb8ddf83 --- /dev/null +++ b/textproc/unac/DESCR @@ -0,0 +1,3 @@ +unac is a C library that removes accents from characters, regardless +of the character set (ISO-8859-15, ISO-CELTIC, KOI8-RU...) as long as +iconv(3) is able to convert it into UTF-16 (Unicode). diff --git a/textproc/unac/Makefile b/textproc/unac/Makefile new file mode 100644 index 00000000000..da803ea50c2 --- /dev/null +++ b/textproc/unac/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/07/27 13:46:57 drochner Exp $ +# + +DISTNAME= unac-1.7.0 +CATEGORIES= textproc +MASTER_SITES= http://www.senga.org/download/unac/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.senga.org/download/unac/ +COMMENT= C library that removes accents from characters +LICENSE= gnu-gpl-v2 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +PKG_DESTDIR_SUPPORT= user-destdir + +PKGCONFIG_OVERRIDE+= unac.pc.in + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/unac/PLIST b/textproc/unac/PLIST new file mode 100644 index 00000000000..fd4eeae7529 --- /dev/null +++ b/textproc/unac/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/27 13:46:57 drochner Exp $ +bin/unaccent +include/unac.h +lib/libunac.la +lib/pkgconfig/unac.pc +man/man1/unaccent.1 +man/man3/unac.3 diff --git a/textproc/unac/buildlink3.mk b/textproc/unac/buildlink3.mk new file mode 100644 index 00000000000..6dca94cd87f --- /dev/null +++ b/textproc/unac/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/07/27 13:46:57 drochner Exp $ + +BUILDLINK_TREE+= unac + +.if !defined(UNAC_BUILDLINK3_MK) +UNAC_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.unac+= unac>=1.7.0 +BUILDLINK_PKGSRCDIR.unac?= ../../textproc/unac +.endif # UNAC_BUILDLINK3_MK + +BUILDLINK_TREE+= -unac diff --git a/textproc/unac/distinfo b/textproc/unac/distinfo new file mode 100644 index 00000000000..7fb14eba5fe --- /dev/null +++ b/textproc/unac/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/07/27 13:46:57 drochner Exp $ + +SHA1 (unac-1.7.0.tar.gz) = 7e83ce8c1a38ce821a96f6289c34c7d0b9965386 +RMD160 (unac-1.7.0.tar.gz) = 4f1470aadf692600c4b4129c0eb3334d9b2ccd0e +Size (unac-1.7.0.tar.gz) = 441956 bytes +SHA1 (patch-aa) = 25dbfe363b32171c7af7059e48ddf041739c603b diff --git a/textproc/unac/patches/patch-aa b/textproc/unac/patches/patch-aa new file mode 100644 index 00000000000..d1560cca37e --- /dev/null +++ b/textproc/unac/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/07/27 13:46:57 drochner Exp $ + +--- Makefile.in.orig 2002-09-02 12:51:42.000000000 +0200 ++++ Makefile.in +@@ -188,7 +188,7 @@ am_libunac_la_OBJECTS = unac.lo + libunac_la_OBJECTS = $(am_libunac_la_OBJECTS) + bin_PROGRAMS = unaccent$(EXEEXT) + noinst_PROGRAMS = unactest$(EXEEXT) unactest1$(EXEEXT) +-PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) ++PROGRAMS = $(bin_PROGRAMS) #$(noinst_PROGRAMS) + + am_unaccent_OBJECTS = unaccent.$(OBJEXT) + unaccent_OBJECTS = $(am_unaccent_OBJECTS) |