diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | 411a468ce44836ba0dce72243b549d700f29037a (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/cue | |
parent | a8d05d72830e3030fc1f7f00f4b39671102c05e6 (diff) | |
download | pkgsrc-411a468ce44836ba0dce72243b549d700f29037a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/cue')
-rw-r--r-- | mail/cue/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/mail/cue/Makefile b/mail/cue/Makefile index afff57fd121..8ec0422451e 100644 --- a/mail/cue/Makefile +++ b/mail/cue/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.54 2008/01/18 05:08:21 tnn Exp $ +# $NetBSD: Makefile,v 1.55 2008/03/04 17:57:18 jlam Exp $ DISTNAME= cue-snap-20061225 PKGNAME= ${DISTNAME:S/snap-//} @@ -9,6 +9,8 @@ MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/cue/snap/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= mh-e like mail user agent +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" @@ -48,10 +50,11 @@ INSTALLATION_DIRS= bin .include "../../devel/zlib/buildlink3.mk" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cue ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cue - ${INSTALL_DATA} ${WRKSRC}/sample.cuerc ${PREFIX}/share/examples/cue - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cue - ${INSTALL_DATA} ${WRKSRC}/cue.hlp ${PREFIX}/share/doc/cue + ${INSTALL_PROGRAM} ${WRKSRC}/cue ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/cue + ${INSTALL_DATA} ${WRKSRC}/sample.cuerc \ + ${DESTDIR}${PREFIX}/share/examples/cue + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cue + ${INSTALL_DATA} ${WRKSRC}/cue.hlp ${DESTDIR}${PREFIX}/share/doc/cue .include "../../mk/bsd.pkg.mk" |