pkgsrc/biology/profit/Makefile
rillig ca0cfb75ab Profit has changed to versioned distfiles almost a year ago, so there's
no need to keep DIST_SUBDIR. Also fixed the misuse of WRKSRC to define
BUILD_DIRS.
2005-11-03 19:45:20 +00:00

27 lines
816 B
Makefile

# $NetBSD: Makefile,v 1.9 2005/11/03 19:45:20 rillig 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
BUILD_TARGET= profit
BUILD_DIRS= src
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/profit ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/profit
.for sufx in dvi ps tex
${INSTALL_DATA} ${WRKSRC}/doc/ProFit.${sufx} ${PREFIX}/share/doc/profit
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/profit
cd ${WRKSRC}/doc/ProFit/ && \
${PAX} -rw . ${PREFIX}/share/doc/html/profit/
.include "../../mk/bsd.pkg.mk"