aboutsummaryrefslogtreecommitdiffstats
path: root/biology/lamarc/Makefile
blob: 6f619f2a73fbd363d1ea046b61c07ccb38cdfefc (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
# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD$

PORTNAME=   lamarc
PORTVERSION=    2.1.8
DISTVERSIONSUFFIX=  -src
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

LICENSE=    AL2

OPTIONS_DEFINE= WXGTK DOCS

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

GNU_CONFIGURE=  yes

PORTDOCS=   *
PLIST_FILES=    bin/${PORTNAME}

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MWXGTK}
USE_WX=     2.8
WX_CONF_ARGS=   absolute
PLIST_FILES+=   bin/lam_conv
.else
CONFIGURE_ARGS+=    --disable-converter
.endif

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

.include <bsd.port.mk>