diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 00:51:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 00:51:43 +0000 |
commit | 075003a60c727330726570ab7674a2ee12c5654f (patch) | |
tree | cdb67462b5541a6566af441ea620d49ad326d24e /biology/sewer | |
parent | bd579f3497266e46fb3a16428bf69c529a427d58 (diff) | |
download | pkgsrc-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/sewer')
-rw-r--r-- | biology/sewer/Makefile | 11 |
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" |