aboutsummaryrefslogtreecommitdiffstats
path: root/biology/libgenome/Makefile
blob: 7ef529047a15394bbcb0469545842f54b3fd9eeb (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
# ex:ts=8
# Ports collection makefile for:    libgenome
# Date created:         Jul 30, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libgenome
PORTVERSION=    0.5.2
PORTREVISION=   1
CATEGORIES= biology
MASTER_SITES=   http://www.cs.wisc.edu/~darling/libgenome/releases/
DISTNAME=   libGenome-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Toolkit for developing bioinformatic related software in C++

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|-O2|@CXXFLAGS@|g' ${WRKSRC}/src/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/html/*.css ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/html/*.png ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}
.endif

.include <bsd.port.mk>