File:  [cvs.NetBSD.org] / pkgsrc / biology / puzzle / Makefile
Revision 1.13: download - view: text, annotated - select for diffs
Tue Sep 11 20:32:14 2012 UTC (12 years, 2 months ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, HEAD
"user-destdir" is default these days

# $NetBSD: Makefile,v 1.13 2012/09/11 20:32:14 asau 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

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"

CVSweb <webmaster@jp.NetBSD.org>