freebsd-ports/net/librouteros/Makefile
Chris Rees c74a729c77 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
2012-04-07 14:42:24 +00:00

39 lines
807 B
Makefile

# 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>