aboutsummaryrefslogtreecommitdiffstats
path: root/net/ntop/Makefile
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-01-16 19:13:37 +0800
committerclement <clement@FreeBSD.org>2005-01-16 19:13:37 +0800
commit28fc96326afcfc2713b5e3d8adf8ab37b4eb1226 (patch)
tree7fea1939cc1ae8ecb0f4d44f204e64c75c1f95c4 /net/ntop/Makefile
parent0cf22f7def5c0b331848099c51cb6ba00f189692 (diff)
downloadfreebsd-ports-gnome-28fc96326afcfc2713b5e3d8adf8ab37b4eb1226.tar.gz
freebsd-ports-gnome-28fc96326afcfc2713b5e3d8adf8ab37b4eb1226.tar.zst
freebsd-ports-gnome-28fc96326afcfc2713b5e3d8adf8ab37b4eb1226.zip
- Update to 3.1
Notes: - IPv6 support is disabled - now startup script prompts for admin password, if unset.
Diffstat (limited to 'net/ntop/Makefile')
-rw-r--r--net/ntop/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index a6006139f415..4f71c9236ca3 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -6,9 +6,8 @@
#
PORTNAME= ntop
-PORTVERSION= 3.0
-PORTREVISION= 1
-CATEGORIES= net ipv6
+PORTVERSION= 3.1
+CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
@@ -22,6 +21,7 @@ LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
png.5:${PORTSDIR}/graphics/png
DBDIR?= /var/db
+WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GETOPT_LONG=yes
USE_GMAKE= yes
@@ -38,6 +38,8 @@ CONFIGURE_ARGS= --localstatedir=${DBDIR} \
--with-gd-root=${LOCALBASE} \
--with-libpng-root=${LOCALBASE} \
--with-zlib-root=/usr
+# we currently disable IPv6
+CONFIGURE_ARGS+=--disable-ipv6
MAN8= ntop.8
@@ -94,8 +96,8 @@ post-install:
@${MKDIR} ${DBDIR}/ntop
@${CHOWN} -R nobody:nobody ${DBDIR}/ntop
@${RMDIR} ${PREFIX}/lib/plugins
- @${SED} -e "s#%%PREFIX%%#${PREFIX}#g" ${FILESDIR}/ntop.sh > \
- ${WRKDIR}/ntop.sh
+ @${SED} -e "s#%%PREFIX%%#${PREFIX}#g;s#%%DBDIR%%#${DBDIR}#g" \
+ ${FILESDIR}/ntop.sh > ${WRKDIR}/ntop.sh
@${INSTALL_DATA} ${WRKDIR}/ntop.sh ${PREFIX}/etc/rc.d
@${SED} "s,%%LOCALBASE%%,${LOCALBASE},g" < ${PKGMESSAGE}