summaryrefslogtreecommitdiff
path: root/biology/mummer/Makefile
blob: 04190ef8564addd391d5fdfd80b5445446d90426 (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
35
36
37
38
39
# $NetBSD: Makefile,v 1.18 2008/10/11 22:01:13 schwarz Exp $
#

DISTNAME=		MUMmer3.20
PKGNAME=		mummer-3.20
CATEGORIES=		biology
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=mummer/}

MAINTAINER=		hdp@cs.nmsu.edu
HOMEPAGE=		http://mummer.sourceforge.net/
COMMENT=		System for aligning whole genome sequences

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=			${WRKDIR}/${DISTNAME}
USE_TOOLS+=		csh:run gmake perl:run pax
USE_LANGUAGES=		c c++

MAKE_ENV+=		SH=${SH:Q}
MAKE_ENV+=		PERL=${PERL5:Q}
MAKE_ENV+=		CSH=${TOOLS_PATH.csh:Q}
INSTALLATION_DIRS=	bin share/doc/mummer share/mummer

do-install:
.for p in annotate combineMUMs delta-filter gaps mgaps mummer \
	repeat-match show-aligns show-coords show-snps show-tiling
	${INSTALL_PROGRAM} ${WRKSRC}/${p} ${DESTDIR}${PREFIX}/bin
.endfor
.for p in postnuc postpro prenuc prepro
	${INSTALL_PROGRAM} ${WRKSRC}/aux_bin/${p} ${DESTDIR}${PREFIX}/bin
.endfor
.for f in run-mummer1 run-mummer3 nucmer promer exact-tandems 	  \
	mapview mummerplot nucmer2xfig dnadiff
	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/mummer
.endfor
	cd ${WRKSRC}/docs && pax -wr -s ',^Makefile$$,,' * \
		${DESTDIR}${PREFIX}/share/doc/mummer

.include "../../mk/bsd.pkg.mk"