summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2015-09-03 06:47:59 +0000
committerfhajny <fhajny@pkgsrc.org>2015-09-03 06:47:59 +0000
commit6e840322c9649d1d995bcf3135cc660ffecd917b (patch)
tree190b7a6ff619b5006e8467e34c7971552f4a721b /converters
parente5b41d0a5ef0b6f136963b4b22b6af79d268056f (diff)
downloadpkgsrc-6e840322c9649d1d995bcf3135cc660ffecd917b.tar.gz
Import wip/php-recode as converters/php-recode.
This module contains an interface to the GNU Recode library. The GNU Recode library converts files between various coded character sets and surface encodings. When this cannot be achieved exactly, it may get rid of the offending characters or fall back on approximations. The library recognises or produces nearly 150 different character sets and is able to convert files between almost any pair. Most RFC 1345 character sets are supported.
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile3
-rw-r--r--converters/php-recode/DESCR6
-rw-r--r--converters/php-recode/Makefile15
3 files changed, 23 insertions, 1 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 3a723ed5daf..d6ecc310240 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.137 2015/08/12 00:30:26 ryoon Exp $
+# $NetBSD: Makefile,v 1.138 2015/09/03 06:47:59 fhajny Exp $
#
COMMENT= Document format and character code converters
@@ -89,6 +89,7 @@ SUBDIR+= p5-nkf
SUBDIR+= pear-I18n_UnicodeNormalizer
SUBDIR+= php-iconv
SUBDIR+= php-mbstring
+SUBDIR+= php-recode
SUBDIR+= psiconv
SUBDIR+= pstotext
SUBDIR+= py-cairosvg
diff --git a/converters/php-recode/DESCR b/converters/php-recode/DESCR
new file mode 100644
index 00000000000..1ebd3df3f3d
--- /dev/null
+++ b/converters/php-recode/DESCR
@@ -0,0 +1,6 @@
+This module contains an interface to the GNU Recode library. The GNU Recode
+library converts files between various coded character sets and surface
+encodings. When this cannot be achieved exactly, it may get rid of the
+offending characters or fall back on approximations. The library recognises or
+produces nearly 150 different character sets and is able to convert files
+between almost any pair. Most RFC 1345 character sets are supported.
diff --git a/converters/php-recode/Makefile b/converters/php-recode/Makefile
new file mode 100644
index 00000000000..dde1da10f02
--- /dev/null
+++ b/converters/php-recode/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2015/09/03 06:48:00 fhajny Exp $
+
+MODNAME= recode
+CATEGORIES= converters
+MAINTAINER= evaldo@gardenali.biz
+COMMENT= PHP extension for recode support
+LICENSE= php
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.recode}
+
+USE_PHP_EXT_PATCHES= yes
+
+.include "../../lang/php/ext.mk"
+.include "../../converters/recode/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"