aboutsummaryrefslogtreecommitdiffstats
path: root/biology/plinkseq/Makefile
blob: 7870f3024291a14659588abd0dc538c4771206cf (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
# Created by: Jason Bacon <jwbacon@tds.net>
# $FreeBSD$

PORTNAME=   plinkseq
PORTVERSION=    0.08
CATEGORIES= biology science
MASTER_SITES=   http://atgu.mgh.harvard.edu/${PORTNAME}/dist/version-${PORTVERSION}/

MAINTAINER= jwbacon@tds.net
COMMENT=    Toolset for working with human genetic variation data

LICENSE=    GPLv2

LIB_DEPENDS=    protobuf:${PORTSDIR}/devel/protobuf

USE_DOS2UNIX=   yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-protobuf=${LOCALBASE}

post-patch:
    ${REINPLACE_CMD} -e 's|PF_INET|AF_INET|g' ${WRKSRC}/browser/mongoose.c
    ${REINPLACE_CMD} -e 's|-ldl||g' \
        ${WRKSRC}/browser/Makefile.in \
        ${WRKSRC}/client/Makefile.in \
        ${WRKSRC}/index/Makefile.in

.include <bsd.port.mk>