summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-02-13 02:54:31 +0000
committerPatrick Li <pat@FreeBSD.org>2002-02-13 02:54:31 +0000
commit719fbd83995fa4d12c83d88dc2d313cb92542d0a (patch)
treed1be47d352bea6e3e09a7fcb472670a35a796bb6
parentBuild a module with a correct combination of headers and library on a (diff)
- Install documentation
- Update WWW: PR: 34889 Submitted by: maintainer
-rw-r--r--biology/gff2ps/Makefile20
-rw-r--r--biology/gff2ps/distinfo1
-rw-r--r--biology/gff2ps/pkg-descr2
-rw-r--r--biology/gff2ps/pkg-plist2
4 files changed, 19 insertions, 6 deletions
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 <bsd.port.mk>
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