blob: 4d4305fa493c358b0eed0cf2731541c7f6f5b6a5 (
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
46
47
48
|
# New ports collection makefile for: lamarc
# Date created: 6 August 2001
# Whom: 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= A package of programs for computing population parameters
LICENSE= AL2
OPTIONS_DEFINE= WXGTK DOCS
WRKSRC= ${WRKDIR}/${DISTNAME:S,${DISTVERSIONSUFFIX},,}
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= 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
.if empty(PORT_OPTIONS:MDOCS)
INSTALL_TARGET= install-exec-am
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|/html/lamarc|/${DOCSDIR_REL}|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|