summaryrefslogtreecommitdiff
path: root/biology/azara
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 00:51:43 +0000
committerjlam <jlam>2008-03-03 00:51:43 +0000
commit47ea0a619138ec48bf6f6b8dd266feca338f19e0 (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /biology/azara
parent1e4d986899bd1f99c95ee5a1ef8f9cd3fe3a3bd2 (diff)
downloadpkgsrc-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/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"