Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2012 02:50:55 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/164985: Update port: biology/gff2ps
Message-ID:  <20120212025055.f3c08822.tkato432@yahoo.com>
Resent-Message-ID: <201202111810.q1BIA9JT084564@freefall.freebsd.org>

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

>Number:         164985
>Category:       ports
>Synopsis:       Update port: biology/gff2ps
>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:   Sat Feb 11 18:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Support PLIST_FILES 

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/biology/gff2ps/Makefile biology/gff2ps/Makefile
--- /usr/ports/biology/gff2ps/Makefile	2008-06-07 00:19:04.000000000 +0900
+++ biology/gff2ps/Makefile	2012-02-10 23:03:49.000000000 +0900
@@ -9,36 +9,47 @@
 PORTVERSION=	0.98d
 PORTREVISION=	2
 CATEGORIES=	biology
-MASTER_SITES=	ftp://www1.imim.es/pub/gff_tools/gff2ps/:prog \
-		http://www1.imim.es/software/gfftools/gff2ps_docs/manual/:doc
-DISTFILES=	${PORTNAME}_v${PORTVERSION}.gz:prog ${GFF2PS_MAN}.gz:doc
+MASTER_SITES=	ftp://genome.crg.es/pub/gff_tools/gff2ps/ \
+		http://genome.crg.es/software/gfftools/gff2ps_docs/manual/:doc
+DISTFILES=	${PORTNAME}_v${PORTVERSION}.gz
+.if !defined(NOPORTDOCS)
+DISTFILES+=	${GFF2PS_MAN}.gz:doc
+.endif
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Converts gff-formated genomic data-sets to PostScript
 
+LICENSE=	GPLv2 # (or later)
+
 RUN_DEPENDS=	gawk:${PORTSDIR}/lang/gawk \
 		bash:${PORTSDIR}/shells/bash
 
-GFF2PS_MAN=	MANUAL_GFF2PS_v0.96.ps
-PATCH_WRKSRC=	${WRKDIR}
-
+NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,; \
-		s,/usr/local/bin/gawk,${LOCALBASE}/bin/gawk,' ${WRKDIR}/gff2ps
+PORTDOCS=	${GFF2PS_MAN}
+PLIST_FILES=	bin/${PORTNAME}
+
+GFF2PS_MAN=	MANUAL_GFF2PS_v0.96.ps
 
 do-extract:
 	@${MKDIR} ${WRKDIR}
 	@${GZCAT} ${DISTDIR}/${PORTNAME}_v${PORTVERSION}.gz \
 		> ${WRKDIR}/${PORTNAME}
+.if !defined(NOPORTDOCS)
 	@${GZCAT} ${DISTDIR}/${GFF2PS_MAN}.gz > ${WRKDIR}/${GFF2PS_MAN}
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \
+		 s|/usr/local/bin/gawk|${LOCALBASE}/bin/gawk|' ${WRKSRC}/gff2ps
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${PREFIX}/bin
-.ifndef(NOPORTDOCS)
+	${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/biology/gff2ps/pkg-descr biology/gff2ps/pkg-descr
--- /usr/ports/biology/gff2ps/pkg-descr	2002-02-13 11:54:31.000000000 +0900
+++ biology/gff2ps/pkg-descr	2012-02-10 22:52:03.000000000 +0900
@@ -1,6 +1,6 @@
-gff2ps is a script program developed with the aim of converting gff-formatted
-records into high quality one-dimensional plots in PostScript. Such plots maybe
-useful for comparing genomic structures and to visualizing outputs from genome
-annotation programs.
+gff2ps is a script program developed with the aim of converting
+gff-formatted records into high quality one-dimensional plots in
+PostScript. Such plots maybe useful for comparing genomic structures
+and to visualizing outputs from genome annotation programs.
 
-WWW: http://www1.imim.es/software/gfftools/GFF2PS.html
+WWW: http://genome.crg.es/software/gfftools/GFF2PS.html
diff -urN /usr/ports/biology/gff2ps/pkg-plist biology/gff2ps/pkg-plist
--- /usr/ports/biology/gff2ps/pkg-plist	2003-10-22 18:29:54.000000000 +0900
+++ biology/gff2ps/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,3 +0,0 @@
-bin/gff2ps
-%%PORTDOCS%%%%DOCSDIR%%/MANUAL_GFF2PS_v0.96.ps
-%%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?20120212025055.f3c08822.tkato432>