summaryrefslogtreecommitdiff
path: root/biology/profit/Makefile
blob: 8d47c3df322e626972eab5cd7f11a63e0b2e3940 (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
# $NetBSD: Makefile,v 1.11 2008/05/26 02:13:16 joerg Exp $
#

DISTNAME=		ProFitV2.2
PKGNAME=		profit-2.2
CATEGORIES=		biology
MASTER_SITES=		http://acrmwww.biochem.ucl.ac.uk/software/profit/235216/

MAINTAINER=		hdp@cs.nmsu.edu
HOMEPAGE=		http://acrmwww.biochem.ucl.ac.uk/programs/profit/index.html
COMMENT=		Performs least squares fits of two protein structures

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=	pax

BUILD_TARGET=		profit
BUILD_DIRS=		src
INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/profit ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/profit
.for sufx in dvi ps tex
	${INSTALL_DATA} ${WRKSRC}/doc/ProFit.${sufx}			\
		${DESTDIR}${PREFIX}/share/doc/profit
.endfor
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/profit
	cd ${WRKSRC}/doc/ProFit/ && 					\
		pax -rw . ${DESTDIR}${PREFIX}/share/doc/html/profit/

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