From 08e596a552c3e1f1fe46a3c5a4fcf0f5d76f57c5 Mon Sep 17 00:00:00 2001 From: pat Date: Wed, 13 Feb 2002 02:54:31 +0000 Subject: - Install documentation - Update WWW: PR: 34889 Submitted by: maintainer --- biology/gff2ps/Makefile | 20 +++++++++++++++----- biology/gff2ps/distinfo | 1 + biology/gff2ps/pkg-descr | 2 +- biology/gff2ps/pkg-plist | 2 ++ 4 files changed, 19 insertions(+), 6 deletions(-) (limited to 'biology') diff --git a/biology/gff2ps/Makefile b/biology/gff2ps/Makefile index 01875134bffc..934b600582cb 100644 --- a/biology/gff2ps/Makefile +++ b/biology/gff2ps/Makefile @@ -8,17 +8,17 @@ PORTNAME= gff2ps PORTVERSION= 0.97b CATEGORIES= biology -MASTER_SITES= ftp://www1.imim.es/pub/gff_tools/gff2ps/ -DISTNAME= gff2ps_v${PORTVERSION} -EXTRACT_SUFX= .gz +MASTER_SITES= ftp://www1.imim.es/pub/gff_tools/gff2ps/ \ + http://www1.imim.es/software/gfftools/gff2ps_docs/manual/ +DISTFILES= ${PORTNAME}_v${PORTVERSION}.gz ${GFF2PS_MAN}.gz MAINTAINER= chuynh@biolateral.com.au RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk \ bash:${PORTSDIR}/shells/bash2 +GFF2PS_MAN= MANUAL_GFF2PS_v0.96.ps PATCH_WRKSRC= ${WRKDIR} -EXTRACT_AFTER_ARGS= > ${WRKDIR}/gff2ps NO_BUILD= yes @@ -26,7 +26,17 @@ post-patch: @${PERL} -pi -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,; \ s,/usr/local/bin/gawk,${LOCALBASE}/bin/gawk,' ${WRKDIR}/gff2ps +do-extract: + @${MKDIR} ${WRKDIR} + @${GZCAT} ${DISTDIR}/${PORTNAME}_v${PORTVERSION}.gz \ + > ${WRKDIR}/${PORTNAME} + @${GZCAT} ${DISTDIR}/${GFF2PS_MAN}.gz > ${WRKDIR}/${GFF2PS_MAN} + do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${PREFIX}/bin +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${DOCSDIR} +.endif .include diff --git a/biology/gff2ps/distinfo b/biology/gff2ps/distinfo index 332bbf0971a8..91a8d2c92aa8 100644 --- a/biology/gff2ps/distinfo +++ b/biology/gff2ps/distinfo @@ -1 +1,2 @@ MD5 (gff2ps_v0.97b.gz) = bc200821ff1a43d6ec7e43905520d902 +MD5 (MANUAL_GFF2PS_v0.96.ps.gz) = 1d7565866d14ac0bc8885d4b29dd3d72 diff --git a/biology/gff2ps/pkg-descr b/biology/gff2ps/pkg-descr index 0561026915e5..2b95b1c331a1 100644 --- a/biology/gff2ps/pkg-descr +++ b/biology/gff2ps/pkg-descr @@ -3,4 +3,4 @@ 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/~jabril/ +WWW: http://www1.imim.es/software/gfftools/GFF2PS.html diff --git a/biology/gff2ps/pkg-plist b/biology/gff2ps/pkg-plist index c1d1c0e168ce..710a9a4e6067 100644 --- a/biology/gff2ps/pkg-plist +++ b/biology/gff2ps/pkg-plist @@ -1 +1,3 @@ bin/gff2ps +%%PORTDOCS%%share/doc/gff2ps/MANUAL_GFF2PS_v0.96.ps +%%PORTDOCS%%@dirrm share/doc/gff2ps -- cgit