summaryrefslogtreecommitdiff
path: root/biology/clustalw/Makefile
blob: a95d39b8c0cbd0921f76a55b7506d3e17ec5ac64 (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
# $NetBSD: Makefile,v 1.4 2004/01/29 13:34:24 grant Exp $

DISTNAME=	clustalw1.8.UNIX
PKGNAME=	clustalw-1.8
CATEGORIES=	biology
MASTER_SITES=	ftp://ftp-igbmc.u-strasbg.fr/pub/ClustalW/ \
		ftp://ftp.ebi.ac.uk/pub/software/unix/clustalw/

MAINTAINER=	babafou@babafou.eu.org
HOMEPAGE=	http://www-igbmc.u-strasbg.fr/BioInfo/ClustalW/
COMMENT=	General purpose multiple alignment program for DNA or proteins

MAKEFILE=	makefile
ALL_TARGET=	clustalw
WRKSRC=		${WRKDIR}/clustalw1.8

MAKE_FLAGS+=	CC="${CC}"

post-patch:
	@${SED} -e 's:@PREFIX@:${PREFIX}:' < ${WRKSRC}/clustalw.c \
		> ${WRKSRC}/clustalw.c.tmp \
		&& ${MV} ${WRKSRC}/clustalw.c.tmp ${WRKSRC}/clustalw.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/clustalw ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clustalw
	for f in clustalv.doc clustalw.doc clustalw.ms clustalw_help; do \
		${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/clustalw; \
	done

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