blob: 390c49de0321f8e9ce3932af01d35380d40ec005 (
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
36
37
38
39
40
|
# Created by: Jason Bacon <jwbacon@tds.net>
# $FreeBSD$
PORTNAME= plinkseq
PORTVERSION= 0.10
CATEGORIES= biology science
MASTER_SITES= http://psychgen.u.hpc.mssm.edu/plinkseq_downloads/
# Default DISTNAME is correct, so leave it alone.
DISTFILES= ${PORTNAME}-src-${PORTVERSION}.tgz
MAINTAINER= jwbacon@tds.net
COMMENT= Toolset for working with human genetic variation data
LICENSE= GPLv2
USES= libtool gmake
post-patch:
${REINPLACE_CMD} \
-e 's|PF_INET|AF_INET|g' \
${WRKSRC}/sources/mongoose/sources/lib/mongoose.c
${REINPLACE_CMD} \
-e 's|g++|${CXX}|g' \
-e 's|gcc|${CC}|g' \
-e 's|CXXFLAGS = -O3|CXXFLAGS = ${CXXFLAGS}|g' \
-e 's|ALL_CFLAGS =-O3|ALL_CFLAGS = ${CFLAGS}|g' \
${WRKSRC}/config_defs.Makefile
${REINPLACE_CMD} \
-e 's| -ldl||g' \
-e 's| $$(STATIC_FLAG)||g' \
${WRKSRC}/Makefile
do-install:
.for f in behead browser gcol mm mongoose pdas pseq smp tab2vcf
${INSTALL_PROGRAM} ${WRKSRC}/build/execs/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_DATA} ${WRKSRC}/sources/plinkseq/build/lib/libplinkseq.a \
${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>
|