2007-06-14 15:32:40 +00:00
|
|
|
# New ports collection makefile for: macroscope
|
|
|
|
# Date created: 2007-05-14
|
|
|
|
# Whom: Dukashvili Guram <white_raven@users.berlios.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2008-07-08 07:14:22 +00:00
|
|
|
PORTNAME= macroscope
|
2008-12-25 18:08:52 +00:00
|
|
|
PORTVERSION= 1.0.3787
|
2011-03-19 13:15:34 +00:00
|
|
|
PORTREVISION= 5
|
2008-07-08 07:14:22 +00:00
|
|
|
CATEGORIES= net-mgmt
|
|
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/macroscope/ \
|
|
|
|
http://white-raven.pisem.net/
|
2007-06-14 15:32:40 +00:00
|
|
|
|
2008-07-08 07:14:22 +00:00
|
|
|
MAINTAINER= white_raven@users.berlios.de
|
|
|
|
COMMENT= User and IP traffic management with Web interface
|
2007-06-14 15:32:40 +00:00
|
|
|
|
2008-07-08 07:14:22 +00:00
|
|
|
LIB_DEPENDS= lzo2:${PORTSDIR}/archivers/lzo2 \
|
|
|
|
odbc:${PORTSDIR}/databases/unixODBC \
|
2008-12-25 18:08:52 +00:00
|
|
|
pcap:${PORTSDIR}/net/libpcap \
|
|
|
|
gd:${PORTSDIR}/graphics/gd
|
2007-06-14 15:32:40 +00:00
|
|
|
|
2008-07-08 07:14:22 +00:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_DOS2UNIX= yes
|
|
|
|
USE_CMAKE= yes
|
2007-06-14 15:32:40 +00:00
|
|
|
|
2008-07-08 07:14:22 +00:00
|
|
|
OPTIONS= MYSQL "With MySQL support" on \
|
|
|
|
FIREBIRD "With Firebird support" off
|
2007-07-11 08:35:15 +00:00
|
|
|
|
2007-06-14 15:32:40 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
2008-07-08 07:14:22 +00:00
|
|
|
CMAKE_ARGS+= -DCMAKE_NOT_INSTALL_DOC:BOOL=ON
|
2007-06-14 15:32:40 +00:00
|
|
|
.endif
|
|
|
|
|
2007-06-14 16:56:55 +00:00
|
|
|
.if !defined(WITHOUT_MYSQL)
|
2008-07-08 07:14:22 +00:00
|
|
|
WANT_MYSQL_VER= 50
|
|
|
|
USE_MYSQL= yes
|
2007-06-14 15:32:40 +00:00
|
|
|
.endif
|
|
|
|
|
2007-07-11 08:35:15 +00:00
|
|
|
.if !defined(WITHOUT_FIREBIRD)
|
|
|
|
WITH_FIREBIRD_VER= 2
|
2008-07-08 07:14:22 +00:00
|
|
|
USE_FIREBIRD= yes
|
2007-06-14 15:32:40 +00:00
|
|
|
.endif
|
|
|
|
|
2007-07-11 08:35:15 +00:00
|
|
|
.include "${PORTSDIR}/Mk/bsd.database.mk"
|
|
|
|
|
2010-04-01 10:24:44 +00:00
|
|
|
.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on this architecture
|
2008-02-01 12:43:44 +00:00
|
|
|
.endif
|
|
|
|
|
2007-06-14 15:32:40 +00:00
|
|
|
.include <bsd.port.post.mk>
|