summaryrefslogtreecommitdiff
path: root/net/php-geoip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/php-geoip/Makefile')
-rw-r--r--net/php-geoip/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/php-geoip/Makefile b/net/php-geoip/Makefile
new file mode 100644
index 00000000000..ed9bc41a89e
--- /dev/null
+++ b/net/php-geoip/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/02/06 22:44:56 fhajny Exp $
+#
+
+MODNAME= geoip
+PECL_VERSION= 1.0.8
+CATEGORIES= net geography
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://pecl.php.net/package/geoip/
+COMMENT= PHP module to map IP address to geographic places
+LICENSE= php
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --with-${MODNAME}
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_DIR}
+
+.include "../../lang/php/ext.mk"
+.include "../../net/GeoIP/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"