summaryrefslogtreecommitdiff
path: root/www/php-tidy
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-08-20 14:53:29 +0000
committertaca <taca@pkgsrc.org>2011-08-20 14:53:29 +0000
commit08fc7de1f7e82cf6a2f9c20ce4f31efb50e6e66e (patch)
tree06c314592dc6497f2d7ad5cf64e91c6b62554fa3 /www/php-tidy
parent901c665f71e5428d0e34d536e0ca54260bcea31b (diff)
downloadpkgsrc-08fc7de1f7e82cf6a2f9c20ce4f31efb50e6e66e.tar.gz
Importing www/php-tidy package version 5.2.17/5.3.7.
Tidy is an extension based on Libtidy (http://tidy.sf.net/) and allows a PHP developer to clean, repair, and traverse HTML, XHTML, and XML documents -- including ones with embedded scripting languages such as PHP or ASP within them using OO constructs.
Diffstat (limited to 'www/php-tidy')
-rw-r--r--www/php-tidy/DESCR4
-rw-r--r--www/php-tidy/Makefile16
2 files changed, 20 insertions, 0 deletions
diff --git a/www/php-tidy/DESCR b/www/php-tidy/DESCR
new file mode 100644
index 00000000000..b36cf3091ef
--- /dev/null
+++ b/www/php-tidy/DESCR
@@ -0,0 +1,4 @@
+Tidy is an extension based on Libtidy (http://tidy.sf.net/) and allows
+a PHP developer to clean, repair, and traverse HTML, XHTML, and XML
+documents -- including ones with embedded scripting languages such as
+PHP or ASP within them using OO constructs.
diff --git a/www/php-tidy/Makefile b/www/php-tidy/Makefile
new file mode 100644
index 00000000000..e3b80049d44
--- /dev/null
+++ b/www/php-tidy/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/08/20 14:53:29 taca Exp $
+
+MODNAME= tidy
+CATEGORIES+= www
+COMMENT= PHP extension for tidy functions
+LICENSE= php
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --with-tidy=shared,${BUILDLINK_PREFIX.tidy}
+
+USE_PHP_EXT_PATCHES= yes
+
+.include "../../lang/php/ext.mk"
+.include "../../www/tidy/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"