diff options
Diffstat (limited to 'mail/spamdyke/Makefile')
-rw-r--r-- | mail/spamdyke/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile index b133d69bc17..edb7bf4d93e 100644 --- a/mail/spamdyke/Makefile +++ b/mail/spamdyke/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2008/02/25 07:38:00 schmonz Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/04 17:57:20 jlam Exp $ # DISTNAME= spamdyke-3.1.6 @@ -10,6 +10,8 @@ MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://www.spamdyke.org/ COMMENT= Monitors and intercept incoming SMTP connections to qmail +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/${PKGBASE} GNU_CONFIGURE= yes @@ -30,11 +32,11 @@ INSTALLATION_DIRS= bin share/doc/${PKGBASE} do-install: cd ${WRKSRC}; \ for f in spamdyke; do \ - ${INSTALL_PROGRAM} $${f} ${PREFIX}/bin; \ + ${INSTALL_PROGRAM} $${f} ${DESTDIR}${PREFIX}/bin; \ done; \ cd ../documentation; \ for f in *.txt *.html; do \ - ${INSTALL_DATA} $${f} ${PREFIX}/share/doc/${PKGBASE}; \ + ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE};\ done .include "../../mk/resolv.buildlink3.mk" |