blob: 462b57e59d9a36866540bac1db5cc1c9b039808a (
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
41
42
43
44
45
|
# Created by: h2
# $FreeBSD$
PORTNAME= seqan
PORTVERSION= 1.3.1
CATEGORIES= biology
MASTER_SITES= http://ftp.seqan.de/releases/
MAINTAINER= h2+fbsdports@fsfe.org
COMMENT= C++ Sequence Analysis Library
LICENSE= BSD GPLv3
LICENSE_COMB= multi
LICENSE_FILE_BSD=${WRKSRC}/seqan/LICENSE
LICENSE_FILE_GPLv3=${WRKSRC}/apps/LICENSE
USE_ZIP= yes
USES= cmake:outsource
CMAKE_SOURCE_PATH=${WRKSRC}/cmake
USE_PYTHON_BUILD=yes
MAKE_JOB_SAFE= yes
SUB_FILES= pkg-message
PKG_MESSAGE= ${WRKDIR}/pkg-message
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
# triggers internal error in system gcc
USE_GCC= yes
.endif
# unsafe workaround because FreeBSD lacks logl and expl
# see "BUGS" in `man 3 math`
post-patch:
@${REINPLACE_CMD} -e 's|expl|exp|g' ${WRKSRC}/apps/snp_store/snp_store.h
@${REINPLACE_CMD} -e 's|logl|log|g' ${WRKSRC}/apps/snp_store/snp_store.h
post-install:
@${CAT} ${PKG_MESSAGE}
.include <bsd.port.post.mk>
|