diff options
Diffstat (limited to 'net-mgmt/macroscope/Makefile')
-rw-r--r-- | net-mgmt/macroscope/Makefile | 23 |
1 files changed, 14 insertions, 9 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} .) |