ports/70111: [Maintainer] www/gatling: install manpage, add to ftp and ipv6 categories

Thomas-Martin Seck tmseck at netcologne.de
Sun Aug 8 14:10:27 UTC 2004


The following reply was made to PR ports/70111; it has been noted by GNATS.

From: Thomas-Martin Seck <tmseck at netcologne.de>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/70111: [Maintainer] www/gatling: install manpage, add to ftp and ipv6 categories
Date: Sun, 8 Aug 2004 16:00:59 +0200

 * Thomas-Martin Seck (tmseck at netcologne.de):
 
 > * Thomas-Martin Seck (tmseck at netcologne.de):
 > 
 > > Sorry, the manpage belongs to section 8, at least on FreeBSD if I
 > > understand intro(8) correctly.
 > > 
 > > Please apply this patch, files/patch-gatling.1 is not needed:
 > > 
 > 
 > Sigh. It's too muggy today. This is the correct patch (fixed MANnPREFIX):
 
 Sorry for polluting the gnats db :(
 
 This patch does install gatling.8 in the right place and in a way that
 man(1) does indeed find it afterwards:
 
 Index: Makefile
 ===================================================================
 --- Makefile	(.../www/gatling)	(revision 170)
 +++ Makefile	(.../local/gatling)	(revision 170)
 @@ -7,7 +7,8 @@
  
  PORTNAME=	gatling
  PORTVERSION=	0.5
 -CATEGORIES=	www benchmarks
 +PORTREVISION=	1
 +CATEGORIES=	www benchmarks ftp ipv6
  MASTER_SITES=	http://dl.fefe.de/
  
  MAINTAINER=	tmseck at netcologne.de
 @@ -24,6 +25,7 @@
  bin=		dl gatling
  examples=	run-gatling
  examplesdir=	${EXAMPLESDIR:S,^${PREFIX}/,,}
 +MAN8=		gatling.8
  .if !defined(NOPORTDOCS)
  PORTDOCS=	CHANGES README README.ftp README.http README.performance \
  		README.prefetch README.proxy README.redirect
 @@ -44,10 +46,14 @@
  PLIST_DIRS=	${examplesdir}
  PLIST_FILES=	${bin:S,^,bin/,} ${examples:S,^,${examplesdir}/,}
  
 +pre-install:
 +	@cd ${WRKSRC} && ${CP} gatling.1 gatling.8
 +
  do-install:
  	cd ${WRKSRC} && ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin
  	${MKDIR} ${EXAMPLESDIR}
  	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${examples} ${EXAMPLESDIR}
 +	cd ${WRKSRC} && ${INSTALL_MAN} ${MAN8} ${MAN8PREFIX}/man/man8
  .if !defined(NOPORTDOCS)
  	${MKDIR} ${DOCSDIR}
  	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}



More information about the freebsd-ports-bugs mailing list