diff options
author | jlam <jlam> | 2008-03-02 03:48:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 03:48:36 +0000 |
commit | 3222446d842fc6000d59dc223f801a8762d7510f (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/mscompress | |
parent | 009577271ae73dec9c5a8e01bda4361a966a5406 (diff) | |
download | pkgsrc-3222446d842fc6000d59dc223f801a8762d7510f.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'archivers/mscompress')
-rw-r--r-- | archivers/mscompress/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/archivers/mscompress/Makefile b/archivers/mscompress/Makefile index aaacba9a189..14693bbaabf 100644 --- a/archivers/mscompress/Makefile +++ b/archivers/mscompress/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/12/15 14:34:18 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/02 03:48:36 jlam Exp $ # DISTNAME= mscompress-0.3 @@ -11,15 +11,18 @@ HOMEPAGE= ftp://ftp.penguin.cz/pub/users/mhi/mscompress/ COMMENT= Microsoft "compress.exe/expand.exe" compatible (de)compressor PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mscompress ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/msexpand ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/mscompress.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/msexpand.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/mscompress ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/msexpand ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/mscompress.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/msexpand.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |