diff options
author | crees <crees@FreeBSD.org> | 2012-04-07 22:42:24 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-04-07 22:42:24 +0800 |
commit | 24e5dc9fb085652b2a7f677db4b07718e1c70077 (patch) | |
tree | f7729842afc1db647bab00604c7ad47cdffe344b /net/librouteros | |
parent | dc5c1ea90dce5138a759268d9f207a928e6e7a3f (diff) | |
download | freebsd-ports-gnome-24e5dc9fb085652b2a7f677db4b07718e1c70077.tar.gz freebsd-ports-gnome-24e5dc9fb085652b2a7f677db4b07718e1c70077.tar.zst freebsd-ports-gnome-24e5dc9fb085652b2a7f677db4b07718e1c70077.zip |
librouteros (or libRouterOS) is a C library to communicate with network
devices by MikroTik running their Linux-based operating system RouterOS.
WWW: http://verplant.org/librouteros/
PR: ports/166707
Submitted by: Mark Felder <feld@feld.me>
Feature safe: yes
Diffstat (limited to 'net/librouteros')
-rw-r--r-- | net/librouteros/Makefile | 39 | ||||
-rw-r--r-- | net/librouteros/distinfo | 2 | ||||
-rw-r--r-- | net/librouteros/pkg-descr | 4 | ||||
-rw-r--r-- | net/librouteros/pkg-plist | 7 |
4 files changed, 52 insertions, 0 deletions
diff --git a/net/librouteros/Makefile b/net/librouteros/Makefile new file mode 100644 index 000000000000..0f4622810adb --- /dev/null +++ b/net/librouteros/Makefile @@ -0,0 +1,39 @@ +# Ports collection Makefile for: librouteros +# Date created: April 6 2012 +# Whom: Mark Felder <feld@feld.me> +# +# $FreeBSD$ +# + +PORTNAME= librouteros +PORTVERSION= 1.1.2 +CATEGORIES= net +MASTER_SITES= http://verplant.org/librouteros/files/ + +MAINTAINER= feld@feld.me +COMMENT= Library for communicating with network devices by MikroTik + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt + +MAN1= ros.1 +MAN3= librouteros.3 + +USE_BZIP2= yes +USE_AUTOTOOLS= libtool +USE_LDCONFIG= yes + +LDFLAGS+= -L${LOCALBASE}/lib +CFLAGS+= -I${LOCALBASE}/include -Wno-error + +PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/net/librouteros/distinfo b/net/librouteros/distinfo new file mode 100644 index 000000000000..41d90270031e --- /dev/null +++ b/net/librouteros/distinfo @@ -0,0 +1,2 @@ +SHA256 (librouteros-1.1.2.tar.bz2) = 1c58ada1ab70e15bb1490b5a24e54e3baf909554173445f71921558e2c111376 +SIZE (librouteros-1.1.2.tar.bz2) = 234942 diff --git a/net/librouteros/pkg-descr b/net/librouteros/pkg-descr new file mode 100644 index 000000000000..60f5b2786cac --- /dev/null +++ b/net/librouteros/pkg-descr @@ -0,0 +1,4 @@ +librouteros (or libRouterOS) is a C library to communicate with network +devices by MikroTik running their Linux-based operating system RouterOS. + +WWW: http://verplant.org/librouteros/ diff --git a/net/librouteros/pkg-plist b/net/librouteros/pkg-plist new file mode 100644 index 000000000000..72de67b3d189 --- /dev/null +++ b/net/librouteros/pkg-plist @@ -0,0 +1,7 @@ +bin/ros +include/routeros_version.h +include/routeros_api.h +lib/librouteros.so.2 +lib/librouteros.so +lib/librouteros.la +lib/librouteros.a |