aboutsummaryrefslogtreecommitdiff
path: root/biology/seqio
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-07-12 06:28:25 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-07-12 06:28:25 +0000
commit30eddc16befa8ef475469a13972f3ee124906245 (patch)
tree0494f440986e0e16245d8957de71e998ab6fb4c2 /biology/seqio
parentfec2a7c6ebe4179eecbe04fb23017fa205663791 (diff)
downloadports-30eddc16befa8ef475469a13972f3ee124906245.tar.gz
ports-30eddc16befa8ef475469a13972f3ee124906245.zip
- respect NOPORTEXAMPLES/NOPORTDOCS and fix plist
- bump PORTREVISION Prompted by: QA Tindy run
Notes
Notes: svn path=/head/; revision=216729
Diffstat (limited to 'biology/seqio')
-rw-r--r--biology/seqio/Makefile13
-rw-r--r--biology/seqio/pkg-plist16
2 files changed, 15 insertions, 14 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 \
diff --git a/biology/seqio/pkg-plist b/biology/seqio/pkg-plist
index 8884649c3107..7b6b9823ac36 100644
--- a/biology/seqio/pkg-plist
+++ b/biology/seqio/pkg-plist
@@ -27,13 +27,13 @@ bin/wcseq
%%PORTDOCS%%%%DOCSDIR%%/quickref.doc
%%PORTDOCS%%%%DOCSDIR%%/seqio.doc
%%PORTDOCS%%%%DOCSDIR%%/user.doc
-%%PORTDOCS%%share/examples/seqio/example1.c
-%%PORTDOCS%%share/examples/seqio/example2.c
-%%PORTDOCS%%share/examples/seqio/example3.c
-%%PORTDOCS%%share/examples/seqio/example4.c
-%%PORTDOCS%%share/examples/seqio/seqio.c
-%%PORTDOCS%%share/examples/seqio/seqio.h
-%%PORTDOCS%%share/examples/seqio/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/seqio.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/seqio.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm share/examples/seqio
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%