aboutsummaryrefslogtreecommitdiffstats
path: root/biology/seqio/Makefile
blob: de974696f51447ce92774a72030cbe7bf2028b8c (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
# Created by: 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=    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
PLIST_FILES+=   ${PROGRAMS:S,^,bin/,}
PORTEXAMPLES=   *
PORTDOCS=   *

OPTIONS_DEFINE= DOCS EXAMPLES

do-install:
    ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}/html
    ${INSTALL_DATA} ${WRKSRC}/bioseq.txt ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/html/*.html ${STAGEDIR}${DOCSDIR}/html

.include <bsd.port.mk>