aboutsummaryrefslogtreecommitdiff
path: root/net/ntop
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-05-25 22:11:39 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-05-25 22:11:39 +0000
commitad30039f94aba56ce5e78e1f46994050f1d9ae88 (patch)
tree46cfa1ffd99df01e4bc1c3b5fa2024796176a3fd /net/ntop
parent565fdac78adad3315462d7b8a9793402b7b111ea (diff)
downloadports-ad30039f94aba56ce5e78e1f46994050f1d9ae88.tar.gz
ports-ad30039f94aba56ce5e78e1f46994050f1d9ae88.zip
Notes
Diffstat (limited to 'net/ntop')
-rw-r--r--net/ntop/Makefile9
-rw-r--r--net/ntop/files/patch-Makefile.in10
2 files changed, 14 insertions, 5 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index 28ec562a44da..cf9e60bf4846 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ntop
PORTVERSION= 3.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,8 +21,8 @@ LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
gdbm.3:${PORTSDIR}/databases/gdbm \
png.5:${PORTSDIR}/graphics/png
-RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
- ${X11BASE}/lib/X11/fonts/URW/a010013l.afm:${PORTSDIR}/x11-fonts/urwfonts
+RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
+ ${X11BASE}/lib/X11/fonts/URW/a010013l.afm:${PORTSDIR}/x11-fonts/urwfonts
DBDIR?= /var/db
@@ -32,7 +32,7 @@ USE_GNOME= libxml2
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
PLIST_SUB= DBDIR=${DBDIR} \
SHLIB=${PORTVERSION:S/.p/pre/}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -107,6 +107,5 @@ post-extract:
post-install:
@${MKDIR} ${DBDIR}/ntop
@${CHOWN} -R nobody:nobody ${DBDIR}/ntop
- @${RMDIR} ${PREFIX}/lib/plugins
.include <bsd.port.post.mk>
diff --git a/net/ntop/files/patch-Makefile.in b/net/ntop/files/patch-Makefile.in
new file mode 100644
index 000000000000..51c7f2545cb9
--- /dev/null
+++ b/net/ntop/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig Mon May 14 22:53:04 2007
++++ Makefile.in Mon May 14 22:53:19 2007
+@@ -1359,7 +1359,6 @@
+ done
+
+ install-data-local: ntop.txt ntop.html faq.html
+- @$(top_srcdir)/mkinstalldirs $(DESTDIR)/$(libdir)/plugins;
+ @if ! test -d $(DESTDIR)/$(datadir)/ntop; then \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/ntop; \
+ touch $(DESTDIR)/$(datadir)/ntop/warnuser; \