diff options
author | joerg <joerg> | 2010-02-11 19:30:01 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 19:30:01 +0000 |
commit | 48bec191e338316f0286dbdc4d9aae1019ad492b (patch) | |
tree | c40cbf781ffa70a5b9033ddefc45f81ae6157929 /mail | |
parent | 7963d0caca1e89618487276db0e2bb5e19a4c606 (diff) | |
download | pkgsrc-48bec191e338316f0286dbdc4d9aae1019ad492b.tar.gz |
DESTDIR support
Diffstat (limited to 'mail')
-rw-r--r-- | mail/smtpfeed/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/smtpfeed/Makefile b/mail/smtpfeed/Makefile index 7d649d024e1..2c42b025adc 100644 --- a/mail/smtpfeed/Makefile +++ b/mail/smtpfeed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2008/03/17 11:37:41 obache Exp $ +# $NetBSD: Makefile,v 1.33 2010/02/11 19:39:04 joerg Exp $ DISTNAME= smtpfeed-1.18 PKGREVISION= 1 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://member.wide.ad.jp/wg/smtp/smtpfeed.html COMMENT= SMTP Fast Exploding External Deliverer for Sendmail +PKG_DESTDIR_SUPPORT= user-destdir + # sendmail 8.x with WIDE patch works better with it, than stock 8.x. # require sendmail from pkgsrc. #DEPENDS+= sendmail>=8.9.3:../../mail/sendmail @@ -34,11 +36,12 @@ CONFIGURE_ARGS+= --enable-ipv6 .endif INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 share/doc/smtpfeed +INSTALL_MAKE_FLAGS+= libexecdir=${DESTDIR}${PREFIX}/libexec post-install: - ${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 for i in ${DOCS}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/smtpfeed; \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/share/doc/smtpfeed; \ done .include "../../devel/sysexits/buildlink3.mk" |