diff options
author | clsung <clsung@FreeBSD.org> | 2007-04-25 11:52:40 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-04-25 11:52:40 +0800 |
commit | a2b6d08c4ddc5ae30de11a9c60a60ec4bd295dc6 (patch) | |
tree | c28fa8e921182db2b208b5b72027c2c3ad1aacdc | |
parent | ddf330b5b8fc253a3a494821f20d04e6e2faefaa (diff) | |
download | freebsd-ports-gnome-a2b6d08c4ddc5ae30de11a9c60a60ec4bd295dc6.tar.gz freebsd-ports-gnome-a2b6d08c4ddc5ae30de11a9c60a60ec4bd295dc6.tar.zst freebsd-ports-gnome-a2b6d08c4ddc5ae30de11a9c60a60ec4bd295dc6.zip |
Add pear-Net_MAC 0.1.3, PEAR class that validates and formats MAC
addresses.
PR: ports/112104
Submitted by: Zhen REN <bg1tpt at gmail.com>
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/pear-Net_MAC/Makefile | 27 | ||||
-rw-r--r-- | net/pear-Net_MAC/distinfo | 3 | ||||
-rw-r--r-- | net/pear-Net_MAC/pkg-descr | 6 |
4 files changed, 37 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 2400804ad874..08b4d2933976 100644 --- a/net/Makefile +++ b/net/Makefile @@ -588,6 +588,7 @@ SUBDIR += pear-Net_IPv6 SUBDIR += pear-Net_Ident SUBDIR += pear-Net_LDAP + SUBDIR += pear-Net_MAC SUBDIR += pear-Net_NNTP SUBDIR += pear-Net_POP3 SUBDIR += pear-Net_Ping diff --git a/net/pear-Net_MAC/Makefile b/net/pear-Net_MAC/Makefile new file mode 100644 index 000000000000..fed2a8666027 --- /dev/null +++ b/net/pear-Net_MAC/Makefile @@ -0,0 +1,27 @@ +# Ports collection makefile for: pear-Net_MAC +# Date created: 25 April 2007 +# Whom: Zhen REN <bg1tpt@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= Net_MAC +PORTVERSION= 0.1.3 +CATEGORIES= net pear + +MAINTAINER= bg1tpt@gmail.com +COMMENT= PEAR class that validates and formats MAC addresses + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear +RUN_DEPENDS= ${BUILD_DEPENDS} + +CATEGORY= Net +FILES= MAC/MAC.php + +post-extract: + @${MKDIR} ${WRKSRC}/MAC + @${MV} ${WRKSRC}/Net/MAC.php ${WRKSRC}/MAC + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include <bsd.port.post.mk> diff --git a/net/pear-Net_MAC/distinfo b/net/pear-Net_MAC/distinfo new file mode 100644 index 000000000000..246130df097e --- /dev/null +++ b/net/pear-Net_MAC/distinfo @@ -0,0 +1,3 @@ +MD5 (PEAR/Net_MAC-0.1.3.tgz) = 1c85dcf2250fa340bdfb644ba35bd84b +SHA256 (PEAR/Net_MAC-0.1.3.tgz) = 33b9ebffdefb5ae8eb954c5f61211287e673689b3da1b14833e6d6b4d1db4c60 +SIZE (PEAR/Net_MAC-0.1.3.tgz) = 4997 diff --git a/net/pear-Net_MAC/pkg-descr b/net/pear-Net_MAC/pkg-descr new file mode 100644 index 000000000000..3b04ce32bdda --- /dev/null +++ b/net/pear-Net_MAC/pkg-descr @@ -0,0 +1,6 @@ +This package validates and cleanly formats Media Access Control (MAC) +addresses. The Net_MAC class can also import a list of MAC address +vendors and store them in a database which the class can then use to +identify vendors of any MAC address. + +WWW: http://pear.php.net/package/Net_MAC/ |