diff options
author | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
commit | c2f2c30967ebdcd9120a391abfb655a190302a51 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/unix2dos | |
parent | e86a3ba39061980160972e0fd2948b67acb7f5af (diff) | |
download | pkgsrc-c2f2c30967ebdcd9120a391abfb655a190302a51.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" |