summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-10 13:08:17 +0000
committerjlam <jlam@pkgsrc.org>2002-01-10 13:08:17 +0000
commit4d1b503f84a0d0eab7f257cadd3f2b07649753a6 (patch)
tree10803705e24f6901e6eb46acc1127ee40f314fcd /net
parenteb75de0518d7f3746590bdc5797c363da61c07a5 (diff)
downloadpkgsrc-4d1b503f84a0d0eab7f257cadd3f2b07649753a6.tar.gz
Move to net/php3-snmp from the www category to match similar
relocations of the PHP4 module packages.
Diffstat (limited to 'net')
-rw-r--r--net/php3-snmp/DESCR2
-rw-r--r--net/php3-snmp/Makefile17
2 files changed, 19 insertions, 0 deletions
diff --git a/net/php3-snmp/DESCR b/net/php3-snmp/DESCR
new file mode 100644
index 00000000000..05f87c8128e
--- /dev/null
+++ b/net/php3-snmp/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to SNMP databases.
diff --git a/net/php3-snmp/Makefile b/net/php3-snmp/Makefile
new file mode 100644
index 00000000000..9fbb1ea5672
--- /dev/null
+++ b/net/php3-snmp/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/10 13:08:17 jlam Exp $
+
+MODNAME= snmp
+CATEGORIES+= net
+PKGREVISION= # empty
+COMMENT= PHP3 extension for SNMP database access
+
+.include "../../www/php3/Makefile.module"
+
+DEPENDS+= ucd-snmp-[0-9]*:../../net/ucd-snmp
+
+CONFIGURE_ARGS+= --with-snmp=${LOCALBASE}
+MOD_CPPFLAGS+= -I${LOCALBASE}/include/ucd-snmp
+MOD_CPPFLAGS+= -I${WRKSRC}/dl
+MOD_LIBS+= -lsnmp
+
+.include "../../mk/bsd.pkg.mk"