Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2003 00:28:16 +0200 (CEST)
From:      Simon Barner <barner@in.tum.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mr@FreeBSD.org
Subject:    ports/56723: [patch, non-maintainer] net/nitpicker: Fix installation
Message-ID:  <20030911222816.2615D3B0DD@zi025.glhnet.mhn.de>
Resent-Message-ID: <200309112230.h8BMUGLc089747@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         56723
>Category:       ports
>Synopsis:       [patch, non-maintainer] net/nitpicker: Fix installation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 11 15:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Simon Barner
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386

>Description:

This port install its binaries with `cp'. With my patch, we do this
ourselves now with ${INSTALL_PROGRAMM}.

I also changed the ports behaviour to installe the parse_flowfile tool,
since it is built and listed in the plist, but not installed by
nitpicker's Makefile (#'ed out there).

>How-To-Repeat:
>Fix:
--- Makefile.orig	Fri Sep 12 00:10:59 2003
+++ Makefile	Fri Sep 12 00:19:00 2003
@@ -16,4 +16,11 @@
 
 NO_MAN= YES
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/nitpicker ${LOCALBASE}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/parse_flowfile/src/parse_flowfile ${LOCALBASE}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/dumpit/dumpit ${LOCALBASE}/bin
+
+.include <bsd.port.post.mk>
--- /dev/null	Fri Sep 12 00:21:03 2003
+++ files/patch-Makefile	Fri Sep 12 00:21:33 2003
@@ -0,0 +1,10 @@
+--- Makefile.orig	Fri Sep 12 00:21:09 2003
++++ Makefile	Fri Sep 12 00:21:19 2003
+@@ -17,7 +17,3 @@
+ 	@cd src; make clean;
+ 
+ install:
+-	@cd tools/dumpit; make install;
+-#	@cd tools/parse_flowfile; make install;
+-	@cd src; make install;
+-
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030911222816.2615D3B0DD>