summaryrefslogtreecommitdiff
path: root/devel/php-ffi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/php-ffi/Makefile')
-rw-r--r--devel/php-ffi/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/php-ffi/Makefile b/devel/php-ffi/Makefile
new file mode 100644
index 00000000000..307c8df6766
--- /dev/null
+++ b/devel/php-ffi/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2021/03/08 00:07:09 taca Exp $
+
+MODNAME= ffi
+CATEGORIES+= textproc
+COMMENT= PHP extension for Foreign Function Interface
+LICENSE= php
+
+PHP_VERSIONS_ACCEPTED= 74 80
+
+USE_PHP_EXT_PATCHES= yes
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.libffi}
+
+.include "../../lang/php/ext.mk"
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"