diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
commit | 41aa6da5cb9b0a946c208eb3858b4455ac8462d1 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/unix2dos | |
parent | 4183b9ede0b9da530e4bad07b6e52bf91b8c2d66 (diff) | |
download | pkgsrc-41aa6da5cb9b0a946c208eb3858b4455ac8462d1.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/unix2dos')
-rw-r--r-- | converters/unix2dos/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/converters/unix2dos/Makefile b/converters/unix2dos/Makefile index 14755cc8c21..8b1b0c98c56 100644 --- a/converters/unix2dos/Makefile +++ b/converters/unix2dos/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/12/02 11:56:49 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/03 05:51:08 jlam Exp $ DISTNAME= unix2dos-1.3 CATEGORIES= converters @@ -7,14 +7,18 @@ MASTER_SITES= ftp://ftp.guug.org/pub/ MAINTAINER= zuntum@NetBSD.org COMMENT= Translate ASCII files to/from DOS (cr/lf) and UNIX (lf) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/unix2dos ${PREFIX}/bin/unix2dos - ${LN} -f ${PREFIX}/bin/unix2dos ${PREFIX}/bin/dos2unix - ${INSTALL_MAN} ${WRKSRC}/man1/unix2dos.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/man1/dos2unix.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/unix2dos ${DESTDIR}${PREFIX}/bin/unix2dos + ${LN} -f ${PREFIX}/bin/unix2dos ${DESTDIR}${PREFIX}/bin/dos2unix + ${INSTALL_MAN} ${WRKSRC}/man1/unix2dos.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/man1/dos2unix.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |