summaryrefslogtreecommitdiff
path: root/biology/sewer
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
commita8d751d3ee9814c8c87f2584ac569caad9e846c3 (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /biology/sewer
parent890d023bb4d81924557661e4ff402b236d159141 (diff)
downloadpkgsrc-a8d751d3ee9814c8c87f2584ac569caad9e846c3.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/sewer')
-rw-r--r--biology/sewer/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/biology/sewer/Makefile b/biology/sewer/Makefile
index 02f404f716b..a9169a1100f 100644
--- a/biology/sewer/Makefile
+++ b/biology/sewer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/02/05 23:08:20 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 01:10:06 jlam Exp $
DISTNAME= sewer
PKGNAME= sewer-2.6
@@ -12,6 +12,7 @@ HOMEPAGE= http://iubio.bio.indiana.edu/webapps/SeWeR/
COMMENT= SEquence Analysis using WEb Resources
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= YES
NO_BUILD= YES
@@ -24,8 +25,10 @@ pre-install:
.endfor
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/sewer
- cd ${WRKDIR} && ${PAX} -rw [a-z]* ${PREFIX}/share/doc/html/sewer/
- cd ${PREFIX}/share/doc/html/sewer && ${LN} -s sewer.htm index.html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/sewer
+ cd ${WRKDIR} && ${PAX} -rw [a-z]* \
+ ${DESTDIR}${PREFIX}/share/doc/html/sewer/
+ cd ${DESTDIR}${PREFIX}/share/doc/html/sewer && \
+ ${LN} -s sewer.htm index.html
.include "../../mk/bsd.pkg.mk"