summaryrefslogtreecommitdiff
path: root/biology/azara
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
commit075003a60c727330726570ab7674a2ee12c5654f (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /biology/azara
parentbd579f3497266e46fb3a16428bf69c529a427d58 (diff)
downloadpkgsrc-075003a60c727330726570ab7674a2ee12c5654f.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/azara')
-rw-r--r--biology/azara/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/biology/azara/Makefile b/biology/azara/Makefile
index 9b324e0777a..5b4310f276e 100644
--- a/biology/azara/Makefile
+++ b/biology/azara/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/01/26 22:05:14 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 01:10:05 jlam Exp $
#
DISTNAME= azara-2.7-src
@@ -11,10 +11,13 @@ MAINTAINER= mchittur@cs.nmsu.edu
HOMEPAGE= http://www.bio.cam.ac.uk/azara/
COMMENT= Programs to process and view NMR data
-WRKSRC= ${WRKDIR}/azara-2.7
+PKG_DESTDIR_SUPPORT= user-destdir
+WRKSRC= ${WRKDIR}/azara-2.7
MAKE_FILE= makefile
+INSTALLATION_DIRS= bin
+
do-install:
.for PROG in azara \
bin2asc \
@@ -29,7 +32,7 @@ do-install:
reflate \
slides swap \
unblock viewer
- ${CP} ${WRKSRC}/bin/${PROG} ${PREFIX}/bin
+ ${CP} ${WRKSRC}/bin/${PROG} ${DESTDIR}${PREFIX}/bin
.endfor
.include "../../graphics/glu/buildlink3.mk"