summaryrefslogtreecommitdiff
path: root/biology/puzzle/Makefile
blob: 3cc84f1dad26fdc4f945651d1ca18af8f8eaa202 (plain)
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
# $NetBSD: Makefile,v 1.15 2019/11/02 22:09:01 rillig Exp $

DISTNAME=	tree-puzzle-5.2
PKGNAME=	${DISTNAME:S/^tree-//}
CATEGORIES=	biology
MASTER_SITES=	http://www.tree-puzzle.de/

MAINTAINER=	babafou@babafou.eu.org
HOMEPAGE=	http://www.tree-puzzle.de/
COMMENT=	Maximum likelihood analysis of molecular sequence data
LICENSE=	gnu-gpl-v2

GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	no

INSTALLATION_DIRS=	share/doc/puzzle \
			share/examples/puzzle

post-install:
	cd ${WRKSRC}/doc && ${INSTALL_DATA} tree-puzzle.pdf	\
		${DESTDIR}${PREFIX}/share/doc/puzzle
	cd ${WRKSRC}/data && ${INSTALL_DATA} EF.* *.a *.n *.b	\
		${DESTDIR}${PREFIX}/share/examples/puzzle

SUBST_CLASSES+=		testeq
SUBST_STAGE.testeq=	post-extract
SUBST_MESSAGE.testeq=	Replace non-portable "==" operator for test(1)
SUBST_FILES.testeq=	tests/*test
SUBST_SED.testeq=	-e 's/==/=/g'

TEST_TARGET=		check

.include "../../mk/mpi.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"