summaryrefslogtreecommitdiff
path: root/biology/genesplicer
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/genesplicer
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/genesplicer')
-rw-r--r--biology/genesplicer/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/biology/genesplicer/Makefile b/biology/genesplicer/Makefile
index dc757be4438..85eac030346 100644
--- a/biology/genesplicer/Makefile
+++ b/biology/genesplicer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/09/09 02:41:55 obache Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 01:10:05 jlam Exp $
#
DISTNAME= GeneSplicer
@@ -10,6 +10,8 @@ MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= ftp://ftp.tigr.org/pub/software/GeneSplicer/
COMMENT= Computational Method for Splice Site Prediction
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
EXDIR= ${PREFIX}/share/examples/genesplicer
@@ -21,11 +23,11 @@ BUILD_DIRS= sources
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sources/genesplicer ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${EXDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/sources/genesplicer ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXDIR}
.for DOC in readme fasta.example fasta.results
- ${INSTALL_DATA} ${WRKSRC}/sources/${DOC} ${EXDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sources/${DOC} ${DESTDIR}${EXDIR}
.endfor
- cd ${WRKSRC} && ${PAX} -rw ${EXAMPLES} ${EXDIR}/
+ cd ${WRKSRC} && ${PAX} -rw ${EXAMPLES} ${DESTDIR}${EXDIR}
.include "../../mk/bsd.pkg.mk"