34 lines
1,001 B
Makefile
34 lines
1,001 B
Makefile
# 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>
|