diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-20 02:56:37 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-20 02:56:37 +0800 |
commit | e07be9e7f42978ca777ad28550bb082d8c108668 (patch) | |
tree | 611f049d5b67da79364a26ddb0c9c181795c9655 /biology | |
parent | b2a4bfeba1401f8035eb0ef2d997ddaa1b834069 (diff) | |
download | freebsd-ports-gnome-e07be9e7f42978ca777ad28550bb082d8c108668.tar.gz freebsd-ports-gnome-e07be9e7f42978ca777ad28550bb082d8c108668.tar.zst freebsd-ports-gnome-e07be9e7f42978ca777ad28550bb082d8c108668.zip |
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. trim Makefile headers.
Diffstat (limited to 'biology')
-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 |