diff options
author | jlam <jlam> | 2008-03-03 00:51:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 00:51:43 +0000 |
commit | 47ea0a619138ec48bf6f6b8dd266feca338f19e0 (patch) | |
tree | cdb67462b5541a6566af441ea620d49ad326d24e /biology/profit | |
parent | 1e4d986899bd1f99c95ee5a1ef8f9cd3fe3a3bd2 (diff) | |
download | pkgsrc-47ea0a619138ec48bf6f6b8dd266feca338f19e0.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'biology/profit')
-rw-r--r-- | biology/profit/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/biology/profit/Makefile b/biology/profit/Makefile index bd71de5f1c4..de83c8fa31c 100644 --- a/biology/profit/Makefile +++ b/biology/profit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2005/11/03 19:45:20 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/03 01:10:06 jlam Exp $ # DISTNAME= ProFitV2.2 @@ -10,18 +10,21 @@ 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 + 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 + ${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} ${PREFIX}/share/doc/profit + ${INSTALL_DATA} ${WRKSRC}/doc/ProFit.${sufx} \ + ${DESTDIR}${PREFIX}/share/doc/profit .endfor - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/profit + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/profit cd ${WRKSRC}/doc/ProFit/ && \ - ${PAX} -rw . ${PREFIX}/share/doc/html/profit/ + ${PAX} -rw . ${DESTDIR}${PREFIX}/share/doc/html/profit/ .include "../../mk/bsd.pkg.mk" |