# Created by: Dukashvili Guram # $FreeBSD$ PORTNAME= macroscope PORTVERSION= 1.0.3787 PORTREVISION= 8 CATEGORIES= net-mgmt MASTER_SITES= ftp://ftp.berlios.de/pub/macroscope/ \ http://white-raven.pisem.net/ MAINTAINER= ports@FreeBSD.org COMMENT= User and IP traffic management with Web interface LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2 \ libodbc.so:${PORTSDIR}/databases/unixODBC \ libpcap.so:${PORTSDIR}/net/libpcap \ libgd.so:${PORTSDIR}/graphics/gd USE_RC_SUBR= ${PORTNAME} USES= cmake dos2unix tar:bzip2 OPTIONS_DEFINE= FIREBIRD DOCS #MYSQL OPTIONS_DEFAULT= FIREBIRD NO_STAGE= yes .include .if ! ${PORT_OPTIONS:MDOCS} CMAKE_ARGS+= -DCMAKE_NOT_INSTALL_DOC:BOOL=ON .endif # ${WRKSRC}/include/adicpp/myapi appears to be hardcoded for MySQL 5.0 # Disable option completely until support for later versions added # Firebird 2.0 support doesn't build on amd64, so version 2.5 is required #.if ${PORT_OPTIONS:MMYSQL} #WANT_MYSQL_VER= 50 #USE_MYSQL= yes #.endif .if ${PORT_OPTIONS:MFIREBIRD} WITH_FIREBIRD_VER= 25 USE_FIREBIRD= yes .endif .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on this architecture .endif .include