aboutsummaryrefslogtreecommitdiffstats
path: root/biology/ariadne/Makefile
blob: e477b5a3fd31fb6ede67f4e163e6a28351d4f0ae (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
# New ports collection makefile for:    ariadne
# Date created:     10 Jun 2004
# Whom:             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= fernan@iib.unsam.edu.ar
COMMENT=    Programs to compare protein sequences and profiles

WRKSRC=     ${WRKDIR}/SRC-${PORTVERSION}
USE_GMAKE=  yes
USE_REINPLACE=  yes

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/ariadne ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/prospero ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>