diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-07-11 08:35:15 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-07-11 08:35:15 +0000 |
commit | b1b5d46a09bcbae18110b0d547eccd31b05f5a55 (patch) | |
tree | 45b8236c5976af1675081ed5f23c502e8d51fa89 /net-mgmt/macroscope | |
parent | 1d2d2abf972249064e325cbe079187ee7d6fedcc (diff) | |
download | ports-b1b5d46a09bcbae18110b0d547eccd31b05f5a55.tar.gz ports-b1b5d46a09bcbae18110b0d547eccd31b05f5a55.zip |
Notes
Diffstat (limited to 'net-mgmt/macroscope')
-rw-r--r-- | net-mgmt/macroscope/Makefile | 23 | ||||
-rw-r--r-- | net-mgmt/macroscope/distinfo | 6 |
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 |