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/sigrot | |
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/sigrot')
-rw-r--r-- | mail/sigrot/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/mail/sigrot/Makefile b/mail/sigrot/Makefile index 6c49d7adcad..38deb950338 100644 --- a/mail/sigrot/Makefile +++ b/mail/sigrot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/01/07 09:13:59 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/04 17:57:19 jlam Exp $ DISTNAME= sigrot_1.2-1 PKGNAME= sigrot-1.2 @@ -10,6 +10,8 @@ MAINTAINER= drue@users.sourceforge.net HOMEPAGE= http://packages.debian.org/oldstable/mail/sigrot COMMENT= Signature file rotation program +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_TOOLS+= gmake @@ -22,14 +24,14 @@ do-build: cd ${WRKSRC} && ${CC} sigrot.c -o sigrot do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sigrot ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/sigrot.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/copyright ${DOCDIR}/COPYRIGHT - ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR}/INSTALL - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/prefix ${EGDIR}/prefix - ${INSTALL_DATA} ${WRKSRC}/examples/sig_archive ${EGDIR}/sig_archive - ${INSTALL_DATA} ${WRKSRC}/examples/suffix ${EGDIR}/suffix + ${INSTALL_PROGRAM} ${WRKSRC}/sigrot ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/sigrot.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/copyright ${DESTDIR}${DOCDIR}/COPYRIGHT + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}/INSTALL + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/prefix ${DESTDIR}${EGDIR}/prefix + ${INSTALL_DATA} ${WRKSRC}/examples/sig_archive ${DESTDIR}${EGDIR}/sig_archive + ${INSTALL_DATA} ${WRKSRC}/examples/suffix ${DESTDIR}${EGDIR}/suffix .include "../../mk/bsd.pkg.mk" |