diff options
Diffstat (limited to 'biology/gff2ps/Makefile')
-rw-r--r-- | biology/gff2ps/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/biology/gff2ps/Makefile b/biology/gff2ps/Makefile index b95c40ae5545..c5073acc68f6 100644 --- a/biology/gff2ps/Makefile +++ b/biology/gff2ps/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gff2ps -# Date created: 17 December 2001 -# Whom: Camson Huynh <chuynh@biolateral.com.au> -# +# Created by: Camson Huynh <chuynh@biolateral.com.au> # $FreeBSD$ -# PORTNAME= gff2ps PORTVERSION= 0.98d @@ -12,9 +8,6 @@ CATEGORIES= biology 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 @@ -32,11 +25,19 @@ PLIST_FILES= bin/${PORTNAME} GFF2PS_MAN= MANUAL_GFF2PS_v0.96.ps +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +DISTFILES+= ${GFF2PS_MAN}.gz:doc +.endif + do-extract: @${MKDIR} ${WRKDIR} @${GZCAT} ${DISTDIR}/${PORTNAME}_v${PORTVERSION}.gz \ > ${WRKDIR}/${PORTNAME} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${GZCAT} ${DISTDIR}/${GFF2PS_MAN}.gz > ${WRKDIR}/${GFF2PS_MAN} .endif @@ -47,7 +48,7 @@ post-patch: do-install: ${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${DOCSDIR} .endif |