Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2009 15:15:21 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142196: [patch] benchmarks/ttcp switch Makefile & plist to DOCSDIR macro
Message-ID:  <200912311515.nBVFFLNH033129@www.freebsd.org>
Resent-Message-ID: <200912311520.nBVFK2On086762@freefall.freebsd.org>

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

>Number:         142196
>Category:       ports
>Synopsis:       [patch] benchmarks/ttcp switch Makefile & plist to DOCSDIR macro
>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 Dec 31 15:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/benchmarks/ttcp/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	16 May 2009 06:27:42 -0000	1.10
+++ Makefile	31 Dec 2009 15:08:58 -0000
@@ -15,7 +15,7 @@
 MAINTAINER=	pgollucci@FreeBSD.org
 COMMENT=	Benchmarking tool for analysing TCP and UDP performance
 
-MAKE_JOBS_SAFE=  yes
+MAKE_JOBS_SAFE=	yes
 
 NO_WRKSUBDIR=	yes
 DIST_SUBDIR=	${PORTNAME}
@@ -32,7 +32,9 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1
-	${MKDIR} ${PREFIX}/share/doc/ttcp
-	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ttcp/
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/benchmarks/ttcp/pkg-plist,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 pkg-plist
--- pkg-plist	2 Jun 1999 06:14:11 -0000	1.1.1.1
+++ pkg-plist	31 Dec 2009 15:08:58 -0000
@@ -1,3 +1,3 @@
 bin/ttcp
-share/doc/ttcp/README
-@dirrm share/doc/ttcp
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



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