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

PORTNAME=   plinkseq
PORTVERSION=    0.08
PORTREVISION=   1
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>