aboutsummaryrefslogtreecommitdiff
path: root/biology/lamarc/Makefile
blob: 46f4e102635a9d2515dee4e88ca45aac843d3edf (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
PORTNAME=	lamarc
PORTVERSION=	2.1.8
DISTVERSIONSUFFIX=	-src
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	biology
MASTER_SITES=	http://evolution.genetics.washington.edu/lamarc/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Package of programs for computing population parameters
WWW=		https://evolution.genetics.washington.edu/lamarc/

LICENSE=	APACHE20

BROKEN_FreeBSD_14=	fails to compile: no matching function for call to 'make_pair'

USE_CXXSTD=	c++98

GNU_CONFIGURE=	yes

WRKSRC=		${WRKDIR}/${DISTNAME:S,${DISTVERSIONSUFFIX},,}

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	*

OPTIONS_DEFINE=	WXGTK DOCS

WXGTK_BROKEN=		does not build
WXGTK_USE=		WX=3.0
WXGTK_CONFIGURE_OFF=	--disable-converter
WXGTK_PLIST_FILES=	bin/lam_conv
WXGTK_VARS=		WX_CONF_ARGS=absolute

post-patch:
	@${REINPLACE_CMD} -e \
		's|/html/lamarc|/${DOCSDIR_REL}|' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>