diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | 411a468ce44836ba0dce72243b549d700f29037a (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/greetdelay | |
parent | a8d05d72830e3030fc1f7f00f4b39671102c05e6 (diff) | |
download | pkgsrc-411a468ce44836ba0dce72243b549d700f29037a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/greetdelay')
-rw-r--r-- | mail/greetdelay/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/greetdelay/Makefile b/mail/greetdelay/Makefile index c842da18c70..23f9826d0a9 100644 --- a/mail/greetdelay/Makefile +++ b/mail/greetdelay/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2007/01/30 22:09:06 schmonz Exp $ +# $NetBSD: Makefile,v 1.5 2008/03/04 17:57:18 jlam Exp $ # DISTNAME= greetdelay-0.03 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= ${HOMEPAGE} @@ -9,6 +10,8 @@ MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://alkemio.org/software/greetdelay/ COMMENT= Introduces a small delay before an SMTP greeting +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= default USE_TOOLS+= nroff @@ -16,9 +19,8 @@ USE_TOOLS+= nroff INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 do-install: - cd ${WRKSRC}; \ - cp greetdelay ${PREFIX}/bin; \ - cp greetdelay.0 ${PREFIX}/${PKGMANDIR}/cat1; \ - cp greetdelay.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/greetdelay ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/greetdelay.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |