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 | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/t-prot | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/t-prot')
-rw-r--r-- | mail/t-prot/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/mail/t-prot/Makefile b/mail/t-prot/Makefile index 908461e657f..9cfdc02d0e0 100644 --- a/mail/t-prot/Makefile +++ b/mail/t-prot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/10/27 12:39:58 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/04 17:57:20 jlam Exp $ # DISTNAME= t-prot-2.5 @@ -11,14 +11,18 @@ COMMENT= TOFU enhancement to mutt for condensing quoted text DEPENDS+= p5-Getopt-Mixed>=1.10:../../devel/p5-Getopt-Mixed +PKG_DESTDIR_SUPPORT= user-destdir + REPLACE_PERL+= t-prot do-configure do-build: do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${PREFIX}/bin/t-prot - ${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${PREFIX}/${PKGMANDIR}/man1/t-prot.1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/t-prot - ${INSTALL_DATA} ${WRKSRC}/contrib/muttrc.t-prot ${PREFIX}/share/doc/t-prot/ + ${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${DESTDIR}${PREFIX}/bin/t-prot + ${INSTALL_MAN} ${WRKSRC}/t-prot.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/t-prot.1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/t-prot + ${INSTALL_DATA} ${WRKSRC}/contrib/muttrc.t-prot \ + ${DESTDIR}${PREFIX}/share/doc/t-prot/ .include "../../mk/bsd.pkg.mk" |