summaryrefslogtreecommitdiff
path: root/biology/profit/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-03 19:45:20 +0000
committerrillig <rillig@pkgsrc.org>2005-11-03 19:45:20 +0000
commitca0cfb75abc7341517be418fe7c9ff5b7289e5c6 (patch)
tree63cabd641521f63a7091d6cfe32e4ac9367af1be /biology/profit/Makefile
parentf6442aee20a4826248f3cbe9a648aea03f18e373 (diff)
downloadpkgsrc-ca0cfb75abc7341517be418fe7c9ff5b7289e5c6.tar.gz
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.
Diffstat (limited to 'biology/profit/Makefile')
-rw-r--r--biology/profit/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/biology/profit/Makefile b/biology/profit/Makefile
index 5a9ec5c0f26..bd71de5f1c4 100644
--- a/biology/profit/Makefile
+++ b/biology/profit/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2005/06/16 06:57:41 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2005/11/03 19:45:20 rillig Exp $
#
-DISTNAME= profit
+DISTNAME= ProFitV2.2
PKGNAME= profit-2.2
CATEGORIES= biology
MASTER_SITES= http://acrmwww.biochem.ucl.ac.uk/software/profit/235216/
@@ -10,20 +10,18 @@ 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
-DIST_SUBDIR= ${DISTNAME}
-BUILD_TARGET= ${DISTNAME}
-WRKSRC= ${WRKDIR}/ProFitV2.2/src
+BUILD_TARGET= profit
+BUILD_DIRS= src
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/profit ${PREFIX}/bin
+ ${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
+ ${INSTALL_DATA} ${WRKSRC}/doc/ProFit.${sufx} ${PREFIX}/share/doc/profit
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/profit
- cd ${WRKSRC}/../doc/ProFit/ && \
+ cd ${WRKSRC}/doc/ProFit/ && \
${PAX} -rw . ${PREFIX}/share/doc/html/profit/
.include "../../mk/bsd.pkg.mk"