aboutsummaryrefslogtreecommitdiffstats
path: root/biology/ariadne/Makefile
blob: 9c7c1938d81a63080a75fa99e745c4b62280c026 (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
# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$

PORTNAME=   ariadne
PORTVERSION=    1.3
CATEGORIES= biology
MASTER_SITES=   http://www.well.ox.ac.uk/ariadne/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Programs to compare protein sequences and profiles

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

PLIST_FILES+=   bin/ariadne bin/prospero
USES=       gmake
PORTDOCS=   README
MAKE_ARGS+= CC="${CC}"

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}| ; \
        s|CFLAGS =|CFLAGS +=| ; \
        s|-c $(OPTIMISE)|-c $(CFLAGS) $(OPTIMIZE)|g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/ariadne ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/prospero ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>