diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 19:30:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 19:30:01 +0000 |
commit | ea1a639a923f5295dea62fbf9e6811aaa7058dec (patch) | |
tree | c40cbf781ffa70a5b9033ddefc45f81ae6157929 /mail/smtpfeed | |
parent | 58d93833b056aa77ad67bed34a2a76d2ababd4d4 (diff) | |
download | pkgsrc-ea1a639a923f5295dea62fbf9e6811aaa7058dec.tar.gz |
DESTDIR support
Diffstat (limited to 'mail/smtpfeed')
-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" |