diff options
author | jlam <jlam> | 2008-03-03 00:51:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 00:51:43 +0000 |
commit | 5e34b9c7fc714e656c1f1792189c0cc3e5349236 (patch) | |
tree | cdb67462b5541a6566af441ea620d49ad326d24e /biology/xylem | |
parent | 09af58dd14701cbbb6f38bbd905462b016dc40c5 (diff) | |
download | pkgsrc-5e34b9c7fc714e656c1f1792189c0cc3e5349236.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/xylem')
-rw-r--r-- | biology/xylem/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/biology/xylem/Makefile b/biology/xylem/Makefile index 4f07a820766..58a674e3a03 100644 --- a/biology/xylem/Makefile +++ b/biology/xylem/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/02/22 19:26:09 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/03 01:10:06 jlam Exp $ # DISTNAME= xylem.1.8.7 @@ -11,6 +11,8 @@ MAINTAINER= hdp@cs.nmsu.edu HOMEPAGE= http://home.cc.umanitoba.ca/~psgendb/XYLEM.html COMMENT= Tools for manipulation of genetic databases +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/xylem BUILD_DIRS= src.c # yes, it's a directory INSTALLATION_DIRS= bin @@ -27,12 +29,14 @@ post-build: do-install: .for PROGRAM in dbstat getloc getob xyl-identify prot2nuc reform ribosome \ splitdb xyl-shuffle flat2phyl phyl2flat - ${INSTALL_PROGRAM} ${WRKSRC}/src.c/${PROGRAM} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src.c/${PROGRAM} ${DESTDIR}${PREFIX}/bin .endfor - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xylem - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/xylem/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xylem - ${INSTALL_DATA} ${WRKSRC}/test/sample.* ${PREFIX}/share/examples/xylem - ${INSTALL_SCRIPT} ${WRKSRC}/test/testxylem.csh ${PREFIX}/share/examples/xylem + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xylem + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/xylem/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/xylem + ${INSTALL_DATA} ${WRKSRC}/test/sample.* \ + ${DESTDIR}${PREFIX}/share/examples/xylem + ${INSTALL_SCRIPT} ${WRKSRC}/test/testxylem.csh \ + ${DESTDIR}${PREFIX}/share/examples/xylem .include "../../mk/bsd.pkg.mk" |