diff options
author | manu <manu> | 2011-10-04 07:42:35 +0000 |
---|---|---|
committer | manu <manu> | 2011-10-04 07:42:35 +0000 |
commit | 168588feac856927fcc5a4ec534e7ee873b859c5 (patch) | |
tree | 261082e534c5b9b0021557a41d3ce4eda9cb3867 /sysutils/php-fileinfo | |
parent | 3d0cf2c10943865d794c9a2c9fc351e8fa18a958 (diff) | |
download | pkgsrc-168588feac856927fcc5a4ec534e7ee873b859c5.tar.gz |
PHP bindings for libmagic, from pkgsrc-wip (filip@joyent.com)
Diffstat (limited to 'sysutils/php-fileinfo')
-rw-r--r-- | sysutils/php-fileinfo/DESCR | 5 | ||||
-rw-r--r-- | sysutils/php-fileinfo/Makefile | 21 | ||||
-rw-r--r-- | sysutils/php-fileinfo/distinfo | 5 |
3 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/php-fileinfo/DESCR b/sysutils/php-fileinfo/DESCR new file mode 100644 index 00000000000..4b0e6fb46ea --- /dev/null +++ b/sysutils/php-fileinfo/DESCR @@ -0,0 +1,5 @@ +Allows retrieval of information regarding a vast majority of file types. +This information may include dimensions, quality, length etc. + +Additionally it can also be used to retrieve the mime type for a particular +file and for text files proper language encoding. diff --git a/sysutils/php-fileinfo/Makefile b/sysutils/php-fileinfo/Makefile new file mode 100644 index 00000000000..121e629a436 --- /dev/null +++ b/sysutils/php-fileinfo/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/10/04 07:42:35 manu Exp $ + +MODNAME= fileinfo +PECL_VERSION= 1.0.4 +CATEGORIES+= sysutils + +MAINTAINER= filip@joyent.com +COMMENT= PHP extension for libmagic bindings + +PKG_DESTDIR_SUPPORT= user-destdir + +PHP_VERSIONS_ACCEPTED= 52 +CONFLICTS= php-fileinfo-[0-9]* + +WRKSRC= ${WRKDIR}/Fileinfo-${PECL_VERSION} + +CONFIGURE_ARGS+= --with-fileinfo=${BUILDLINK_PREFIX.php} + +.include "../../lang/php/ext.mk" +.include "../../sysutils/file/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/php-fileinfo/distinfo b/sysutils/php-fileinfo/distinfo new file mode 100644 index 00000000000..ec15a25050d --- /dev/null +++ b/sysutils/php-fileinfo/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/10/04 07:42:35 manu Exp $ + +SHA1 (php-fileinfo/fileinfo-1.0.4.tgz) = 60a146cf58357ab59f42061d35c0aa4bff8fb170 +RMD160 (php-fileinfo/fileinfo-1.0.4.tgz) = fedf7f72b1b2dca30f138ef31f507084d1392dbe +Size (php-fileinfo/fileinfo-1.0.4.tgz) = 5835 bytes |