summaryrefslogtreecommitdiff
path: root/net/ntop/Makefile
diff options
context:
space:
mode:
authorJohann Visagie <wjv@FreeBSD.org>2002-01-24 09:15:32 +0000
committerJohann Visagie <wjv@FreeBSD.org>2002-01-24 09:15:32 +0000
commita4eadd06446af56699d6adae498abbedeaa11018 (patch)
treec54f6c45bebe2c62455a534aa734acf7a7d23de8 /net/ntop/Makefile
parentUpdate to 1.2.4. (diff)
- Add a patch which should allow this port to build on a machine with a
modified LOCALBASE. - This port should now also build on OSVERSIONs before OpenSSL was imported (untested). - Bumped PORTREVISION. PR: 34052 Submitted by: Thomas Hurst <freaky@aagh.net>
Notes
Notes: svn path=/head/; revision=53674
Diffstat (limited to 'net/ntop/Makefile')
-rw-r--r--net/ntop/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index a031b4b2e0e4..c4e6aa3eea82 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ntop
PORTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.ntop.org/pub/local/ntop/source/ \
ftp://ftp.us.ntop.org/pub/ntop/source/ \
@@ -34,7 +35,14 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --localstatedir=${DBDIR} \
- --with-gdchart-root=${LOCALBASE}
+ --with-gdbm-root=${LOCALBASE} \
+ --with-gdchart-root=${LOCALBASE} \
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 400014
+LIB_DEPENDS+= ssl.2:${PORTSDIR}/security/openssl
+CONFIGURE_ARGS+= --with-ossl-root=${LOCALBASE}
+.endif
MAN1= intop.1
MAN8= ntop.8 ntop-rules.8
@@ -51,4 +59,4 @@ post-install:
${WRKDIR}/ntop.sh
@ ${INSTALL_SCRIPT} ${WRKDIR}/ntop.sh ${PREFIX}/etc/rc.d
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>