diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-07-12 14:28:25 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-07-12 14:28:25 +0800 |
commit | 8893e5477217b9ecb38d26e5b2c65f3f03d1733e (patch) | |
tree | f560468639d2eb7d1563b09c5e0a7f63a5e353aa /biology/seqio/Makefile | |
parent | 661026ff926f6b21b177c7a0bdfc4b190f565235 (diff) | |
download | freebsd-ports-gnome-8893e5477217b9ecb38d26e5b2c65f3f03d1733e.tar.gz freebsd-ports-gnome-8893e5477217b9ecb38d26e5b2c65f3f03d1733e.tar.zst freebsd-ports-gnome-8893e5477217b9ecb38d26e5b2c65f3f03d1733e.zip |
- respect NOPORTEXAMPLES/NOPORTDOCS and fix plist
- bump PORTREVISION
Prompted by: QA Tindy run
Diffstat (limited to 'biology/seqio/Makefile')
-rw-r--r-- | biology/seqio/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/biology/seqio/Makefile b/biology/seqio/Makefile index c6113fd5e0f3..9c7d8327c222 100644 --- a/biology/seqio/Makefile +++ b/biology/seqio/Makefile @@ -7,6 +7,7 @@ PORTNAME= seqio PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= biology MASTER_SITES= http://www.cs.ucdavis.edu/~gusfield/ DISTNAME= ${PORTNAME} @@ -16,25 +17,25 @@ COMMENT= A set of C functions which can read/write biological sequence files WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} EXAMPLES= example1.c example2.c example3.c example4.c seqio.c \ seqio.h Makefile PROGRAMS= fmtseq grepseq idxseq typeseq wcseq do-install: - ${MKDIR} ${DOCSDIR} - ${MKDIR} ${DOCSDIR}/html - ${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}; \ for file in ${PROGRAMS}; do \ ${INSTALL_PROGRAM} $$file ${PREFIX}/bin; \ done -post-install: -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}; \ for file in ${EXAMPLES}; do \ ${INSTALL_DATA} $$file ${EXAMPLESDIR}; \ done +.endif +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/bioseq.txt ${DOCSDIR} cd ${WRKSRC}/doc; \ for file in *.doc; do \ |