diff options
author | martti <martti@pkgsrc.org> | 2009-05-12 11:09:26 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2009-05-12 11:09:26 +0000 |
commit | 5b0ba6703c99828b0b8c6be7f89fe7e95e9cfad8 (patch) | |
tree | 293fee09a9da71a3f98e81d8892794bcb6b65a3a /mail | |
parent | 342f00e2d483ed85e5a1babbf4d1cea9a797785a (diff) | |
download | pkgsrc-5b0ba6703c99828b0b8c6be7f89fe7e95e9cfad8.tar.gz |
Added PKG_DESTDIR_SUPPORT=user-destdir
Diffstat (limited to 'mail')
-rw-r--r-- | mail/clamsmtp/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/clamsmtp/Makefile b/mail/clamsmtp/Makefile index 50d976b8d3a..f807c221cba 100644 --- a/mail/clamsmtp/Makefile +++ b/mail/clamsmtp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2009/03/22 11:21:04 martti Exp $ +# $NetBSD: Makefile,v 1.40 2009/05/12 11:09:26 martti Exp $ DISTNAME= clamsmtp-1.10 #PKGREVISION= 1 @@ -11,11 +11,12 @@ COMMENT= SMTP filter that allows you to check for viruses #LICENSE= modified-bsd PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes RCD_SCRIPTS= clamsmtpd -MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE} +MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE:Q} FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER} # Doesn't work with GNU pth (missing required mutex features) @@ -30,8 +31,8 @@ INSTALLATION_DIRS= share/examples/${PKGBASE} PKG_USERS_VARS= CLAMAV_USER post-install: - ${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${EGDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${DESTDIR}${EGDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${DESTDIR}${EGDIR} .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |