2013-06-19 20:56:37 +02:00
|
|
|
# Created by: Camson Huynh <chuynh@biolateral.com.au>
|
2001-12-19 11:03:26 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gff2ps
|
2006-10-06 06:12:59 +02:00
|
|
|
PORTVERSION= 0.98d
|
2008-06-06 15:08:29 +02:00
|
|
|
PORTREVISION= 2
|
2001-12-19 11:03:26 +01:00
|
|
|
CATEGORIES= biology
|
2012-02-20 00:24:52 +01:00
|
|
|
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
|
2001-12-19 11:03:26 +01:00
|
|
|
|
2007-03-10 21:20:10 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= Converts gff-formated genomic data-sets to PostScript
|
2001-12-19 11:03:26 +01:00
|
|
|
|
2012-02-20 00:24:52 +01:00
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
|
2001-12-19 11:03:26 +01:00
|
|
|
RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk \
|
2007-01-16 19:21:00 +01:00
|
|
|
bash:${PORTSDIR}/shells/bash
|
2001-12-19 11:03:26 +01:00
|
|
|
|
2012-02-20 00:24:52 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
2001-12-19 11:03:26 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2012-02-20 00:24:52 +01:00
|
|
|
PORTDOCS= ${GFF2PS_MAN}
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
|
|
|
GFF2PS_MAN= MANUAL_GFF2PS_v0.96.ps
|
2001-12-19 11:03:26 +01:00
|
|
|
|
2013-06-19 20:56:37 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2013-09-20 17:55:44 +02:00
|
|
|
NO_STAGE= yes
|
2013-06-19 20:56:37 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
DISTFILES+= ${GFF2PS_MAN}.gz:doc
|
|
|
|
.endif
|
|
|
|
|
2002-02-13 03:54:31 +01:00
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
@${GZCAT} ${DISTDIR}/${PORTNAME}_v${PORTVERSION}.gz \
|
|
|
|
> ${WRKDIR}/${PORTNAME}
|
2013-06-19 20:56:37 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2002-02-13 03:54:31 +01:00
|
|
|
@${GZCAT} ${DISTDIR}/${GFF2PS_MAN}.gz > ${WRKDIR}/${GFF2PS_MAN}
|
2012-02-20 00:24:52 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \
|
|
|
|
s|/usr/local/bin/gawk|${LOCALBASE}/bin/gawk|' ${WRKSRC}/gff2ps
|
2002-02-13 03:54:31 +01:00
|
|
|
|
2001-12-19 11:03:26 +01:00
|
|
|
do-install:
|
2012-02-20 00:24:52 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${PREFIX}/bin
|
2013-06-19 20:56:37 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2002-02-13 03:54:31 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2012-02-20 00:24:52 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${DOCSDIR}
|
2002-02-13 03:54:31 +01:00
|
|
|
.endif
|
2001-12-19 11:03:26 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|