aboutsummaryrefslogtreecommitdiffstats
path: root/biology/seqio/Makefile
blob: 9c7d8327c222cdf74767723eacf5ac3dd28a25ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:    seqio
# Date created:             17 August 2001
# Whom:                 Tony Maher
#
# $FreeBSD$
#

PORTNAME=   seqio
PORTVERSION=    1.2.2
PORTREVISION=   1
CATEGORIES= biology
MASTER_SITES=   http://www.cs.ucdavis.edu/~gusfield/
DISTNAME=   ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A set of C functions which can read/write biological sequence files

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

EXAMPLES=   example1.c example2.c example3.c example4.c seqio.c \
        seqio.h Makefile
PROGRAMS=   fmtseq grepseq idxseq typeseq wcseq

do-install:
    cd ${WRKSRC}; \
    for file in ${PROGRAMS}; do \
        ${INSTALL_PROGRAM} $$file ${PREFIX}/bin; \
    done
.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 \
        ${INSTALL_DATA} $$file ${DOCSDIR}; \
    done
    cd ${WRKSRC}/html; \
    for file in *.html; do \
        ${INSTALL_DATA} $$file ${DOCSDIR}/html; \
    done
.endif

.include <bsd.port.mk>