diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 18:14:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 18:14:05 +0000 |
commit | 449b27ae9a03825f36f302b5950a30f2d017f8c3 (patch) | |
tree | ec1012e7b852eed704b5efd70c15972c25a7dc50 /mail/procmail/Makefile | |
parent | f9b0122de124860db42cf00a44c8a1727d7619df (diff) | |
download | pkgsrc-449b27ae9a03825f36f302b5950a30f2d017f8c3.tar.gz |
Basic destdir support. From Steven Drake.
Diffstat (limited to 'mail/procmail/Makefile')
-rw-r--r-- | mail/procmail/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 2bf8ebc824a..6cfd1682fc8 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2010/01/21 17:41:07 heinz Exp $ +# $NetBSD: Makefile,v 1.45 2010/01/27 18:14:05 joerg Exp $ # DISTNAME= procmail-3.22 @@ -11,6 +11,8 @@ HOMEPAGE= http://www.procmail.org/ COMMENT= Local mail delivery agent LICENSE= artistic OR gnu-gpl-v2 +PKG_DESTDIR_SUPPORT= destdir + PKG_INSTALLATION_TYPES= overwrite pkgviews MAKE_JOBS_SAFE= no @@ -46,14 +48,14 @@ pre-configure: do-install: cd ${WRKSRC}/new; \ for f in procmail formail lockfile; do \ - ${INSTALL_PROGRAM} $$f ${PREFIX}/bin/$$f; \ + ${INSTALL_PROGRAM} $$f ${DESTDIR}${PREFIX}/bin/$$f; \ done; \ - ${INSTALL_SCRIPT} mailstat ${PREFIX}/bin/mailstat; \ + ${INSTALL_SCRIPT} mailstat ${DESTDIR}${PREFIX}/bin/mailstat; \ for f in procmail.1 formail.1 lockfile.1; do \ - ${INSTALL_MAN} $$f ${PREFIX}/${PKGMANDIR}/man1/$$f; \ + ${INSTALL_MAN} $$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$$f; \ done; \ for f in procmailex.5 procmailrc.5 procmailsc.5; do \ - ${INSTALL_MAN} $$f ${PREFIX}/${PKGMANDIR}/man5/$$f; \ + ${INSTALL_MAN} $$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/$$f; \ done ${SH} ${WRKSRC}/suid.sh .endif |