aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/macroscope
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-07-11 16:35:15 +0800
committerpav <pav@FreeBSD.org>2007-07-11 16:35:15 +0800
commit5e87ee36db7d0738cb56cb049a1598980225f1f9 (patch)
tree9655af1eb035236f6ff1cfbcba54c66794eae006 /net-mgmt/macroscope
parent83faf367afec3521196cd7add4eee35a3814b1f0 (diff)
downloadfreebsd-ports-gnome-5e87ee36db7d0738cb56cb049a1598980225f1f9.tar.gz
freebsd-ports-gnome-5e87ee36db7d0738cb56cb049a1598980225f1f9.tar.zst
freebsd-ports-gnome-5e87ee36db7d0738cb56cb049a1598980225f1f9.zip
- Update to 1.0.2278
Submitted by: maintainer
Diffstat (limited to 'net-mgmt/macroscope')
-rw-r--r--net-mgmt/macroscope/Makefile23
-rw-r--r--net-mgmt/macroscope/distinfo6
2 files changed, 17 insertions, 12 deletions
diff --git a/net-mgmt/macroscope/Makefile b/net-mgmt/macroscope/Makefile
index 3713738c7388..03ab21c712cc 100644
--- a/net-mgmt/macroscope/Makefile
+++ b/net-mgmt/macroscope/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= macroscope
-PORTVERSION= 1.0.2108
+PORTVERSION= 1.0.2278
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.berlios.de/pub/macroscope/ \
http://white-raven.pisem.net/
@@ -14,17 +14,15 @@ MASTER_SITES= ftp://ftp.berlios.de/pub/macroscope/ \
MAINTAINER= white_raven@users.berlios.de
COMMENT= User and IP traffic management with Web interface
-OPTIONS= MYSQL "With MySQL support" on \
- FIREBIRD "With Firebird support" off
-
-USE_BZIP2= yes
-USE_RC_SUBR= macroscope
-
BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
LIB_DEPENDS= lzo2:${PORTSDIR}/archivers/lzo2 \
odbc:${PORTSDIR}/databases/unixODBC \
pcap:${PORTSDIR}/net/libpcap
+USE_RC_SUBR= macroscope
+USE_BZIP2= yes
+USE_DOS2UNIX= yes
+
CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_COMPILER:STRING="${CC}" \
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
@@ -32,6 +30,9 @@ CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
-DCMAKE_INSTALL_PREFIX=${PREFIX}
+OPTIONS= MYSQL "With MySQL support" on \
+ FIREBIRD "With Firebird support" off
+
.include <bsd.port.pre.mk>
.if defined(NOPORTDOCS)
@@ -39,13 +40,17 @@ CMAKE_ARGS+= -DCMAKE_NOT_INSTALL_DOC:BOOL=ON
.endif
.if !defined(WITHOUT_MYSQL)
+WANT_MYSQL_VER= 50
USE_MYSQL= yes
.endif
-.if defined(WITH_FIREBIRD)
-LIB_DEPENDS+= fbclient:${PORTSDIR}/databases/firebird-client
+.if !defined(WITHOUT_FIREBIRD)
+WITH_FIREBIRD_VER= 2
+USE_FIREBIRD= yes
.endif
+.include "${PORTSDIR}/Mk/bsd.database.mk"
+
do-configure:
@(cd ${WRKSRC}; \
${LOCALBASE}/bin/cmake ${CMAKE_ARGS} .)
diff --git a/net-mgmt/macroscope/distinfo b/net-mgmt/macroscope/distinfo
index dcb42c8f83c0..3caaf9692b35 100644
--- a/net-mgmt/macroscope/distinfo
+++ b/net-mgmt/macroscope/distinfo
@@ -1,3 +1,3 @@
-MD5 (macroscope-1.0.2108.tar.bz2) = b53a2775c402a0a64dbcd43abda1dec8
-SHA256 (macroscope-1.0.2108.tar.bz2) = 62a8154e75709d0ad7955c8638301e3502e5a8023a2db43f211041138a210638
-SIZE (macroscope-1.0.2108.tar.bz2) = 1984504
+MD5 (macroscope-1.0.2278.tar.bz2) = f154030429e114766df18461d2617a17
+SHA256 (macroscope-1.0.2278.tar.bz2) = 357fcfaab822e12716bfa165a5e0b6fd9a7191925339fd4c78d97e6e7583ba5d
+SIZE (macroscope-1.0.2278.tar.bz2) = 2030330