diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-07-30 01:09:34 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-07-30 01:09:34 +0800 |
commit | 6f9a3b7d34bf5b5f1de5af500b6513bac0770d04 (patch) | |
tree | fa27520f7135659a9f2f6ef2530eb24e634559d0 /net-mgmt/nfdump-devel | |
parent | be1f650fbb394915133734138a952cb501afd02a (diff) | |
download | freebsd-ports-gnome-6f9a3b7d34bf5b5f1de5af500b6513bac0770d04.tar.gz freebsd-ports-gnome-6f9a3b7d34bf5b5f1de5af500b6513bac0770d04.tar.zst freebsd-ports-gnome-6f9a3b7d34bf5b5f1de5af500b6513bac0770d04.zip |
- Update to 1.3 [1]
- Install files using ${BSD_INSTALL_...}
- Unsilence ${MKDIR} in post-install
[1]:
PR: ports/84291
Submitted by: maintainer
Diffstat (limited to 'net-mgmt/nfdump-devel')
-rw-r--r-- | net-mgmt/nfdump-devel/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/nfdump-devel/distinfo | 4 | ||||
-rw-r--r-- | net-mgmt/nfdump-devel/files/patch-Makefile.in | 49 |
3 files changed, 27 insertions, 30 deletions
diff --git a/net-mgmt/nfdump-devel/Makefile b/net-mgmt/nfdump-devel/Makefile index 037e9dc0f7f8..414001cc5024 100644 --- a/net-mgmt/nfdump-devel/Makefile +++ b/net-mgmt/nfdump-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nfdump -PORTVERSION= 1.2.1 +PORTVERSION= 1.3 CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -25,7 +25,7 @@ PORTDOCS= AUTHORS ChangeLog INSTALL README .if !defined(NOPORTDOCS) post-install: - @${MKDIR} ${DOCSDIR} + ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif diff --git a/net-mgmt/nfdump-devel/distinfo b/net-mgmt/nfdump-devel/distinfo index b36b3e11b42c..0bb5c992c750 100644 --- a/net-mgmt/nfdump-devel/distinfo +++ b/net-mgmt/nfdump-devel/distinfo @@ -1,2 +1,2 @@ -MD5 (nfdump-1.2.1.tar.gz) = 93bf498a1117cbed4dfe605094cd4ab2 -SIZE (nfdump-1.2.1.tar.gz) = 100859 +MD5 (nfdump-1.3.tar.gz) = cabb61ede2d221a5b4736082c9b2b2f9 +SIZE (nfdump-1.3.tar.gz) = 101350 diff --git a/net-mgmt/nfdump-devel/files/patch-Makefile.in b/net-mgmt/nfdump-devel/files/patch-Makefile.in index ffd9d2cc5477..263ffad5279f 100644 --- a/net-mgmt/nfdump-devel/files/patch-Makefile.in +++ b/net-mgmt/nfdump-devel/files/patch-Makefile.in @@ -1,18 +1,6 @@ - -$FreeBSD$ - ---- Makefile.in.orig -+++ Makefile.in -@@ -47,7 +47,7 @@ - LFLAGS = -i - LDFLAGS = @LIBS@ - prefix = @prefix@ --MANDIR = @mandir@ -+MANDIR = @prefix@/man - FSRC = grammar.c scanner.c nftree.c netflow_v5.c launch.c nfstat.c util.c - FOBJ = $(FSRC:.c=.o) - ASRC = $(FSRC) nfdump.c nftree_check.c nfreplay.c -@@ -82,15 +82,15 @@ +--- Makefile.in.orig Thu Apr 21 08:59:14 2005 ++++ Makefile.in Fri Jul 29 18:59:39 2005 +@@ -82,20 +82,16 @@ $(CC) $(CFLAGS) $(INCS) -o $@ nfreplay.o $(FOBJ) $(LDFLAGS) install: $(OBJECTS) @@ -20,16 +8,25 @@ $FreeBSD$ - test -d $(prefix)/bin || install -d -o root -g bin -m 755 $(prefix)/bin - test -d $(MANDIR) || install -d -o root -g bin -m 755 $(MANDIR) - test -d $(MANDIR)/man1 || install -d -o root -g bin -m 755 $(MANDIR)/man1 -+ test -d $(prefix) || install -d -o root -g wheel -m 755 $(prefix) -+ test -d $(prefix)/bin || install -d -o root -g wheel -m 755 $(prefix)/bin -+ test -d $(MANDIR) || install -d -o root -g wheel -m 755 $(MANDIR) -+ test -d $(MANDIR)/man1 || install -d -o root -g wheel -m 755 $(MANDIR)/man1 - $(INSTALL) -o root -g bin -m 755 nfcapd $(prefix)/bin - $(INSTALL) -o root -g bin -m 755 nfdump $(prefix)/bin - $(INSTALL) -o root -g bin -m 755 nfprofile $(prefix)/bin - $(INSTALL) -o root -g bin -m 755 nfreplay $(prefix)/bin +- $(INSTALL) -o root -g bin -m 755 nfcapd $(prefix)/bin +- $(INSTALL) -o root -g bin -m 755 nfdump $(prefix)/bin +- $(INSTALL) -o root -g bin -m 755 nfprofile $(prefix)/bin +- $(INSTALL) -o root -g bin -m 755 nfreplay $(prefix)/bin - test -f $(prefix)/bin/nfclean.pl || $(INSTALL) -o root -g bin -m 755 nfclean.pl $(prefix)/bin -+ $(INSTALL) -o root -g bin -m 755 nfclean.pl $(prefix)/bin ++ $(BSD_INSTALL_PROGRAM) nfcapd $(prefix)/bin ++ $(BSD_INSTALL_PROGRAM) nfdump $(prefix)/bin ++ $(BSD_INSTALL_PROGRAM) nfprofile $(prefix)/bin ++ $(BSD_INSTALL_PROGRAM) nfreplay $(prefix)/bin ++ $(BSD_INSTALL_SCRIPT) nfclean.pl $(prefix)/bin - $(INSTALL) -o root -g bin -m 644 nfcapd.1 $(MANDIR)/man1 - $(INSTALL) -o root -g bin -m 644 nfdump.1 $(MANDIR)/man1 +- $(INSTALL) -o root -g bin -m 644 nfcapd.1 $(MANDIR)/man1 +- $(INSTALL) -o root -g bin -m 644 nfdump.1 $(MANDIR)/man1 +- $(INSTALL) -o root -g bin -m 644 nfprofile.1 $(MANDIR)/man1 +- $(INSTALL) -o root -g bin -m 644 nfreplay.1 $(MANDIR)/man1 ++ $(BSD_INSTALL_MAN) nfcapd.1 $(MANDIR)/man1 ++ $(BSD_INSTALL_MAN) nfdump.1 $(MANDIR)/man1 ++ $(BSD_INSTALL_MAN) nfprofile.1 $(MANDIR)/man1 ++ $(BSD_INSTALL_MAN) nfreplay.1 $(MANDIR)/man1 + + uninstall: + /bin/rm -f $(prefix)/bin/nfcapd |