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/lzma | |
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/lzma')
-rw-r--r-- | archivers/lzma/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile index 06dc864fe62..4e57b458aca 100644 --- a/archivers/lzma/Makefile +++ b/archivers/lzma/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/02/17 12:07:28 obache Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/02 03:48:36 jlam Exp $ # DISTNAME= lzma443 @@ -11,15 +11,17 @@ MAINTAINER= jakllsch@kollasch.net HOMEPAGE= http://www.7-zip.org/sdk.html COMMENT= LZMA compression utility from 7zip -USE_LANGUAGES= c c++ - -WRKSRC= ${WRKDIR}/C/7zip/Compress/LZMA_Alone +PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES= c c++ USE_TOOLS+= gmake +WRKSRC= ${WRKDIR}/C/7zip/Compress/LZMA_Alone MAKE_FILE= makefile.gcc +INSTALLATION_DIRS= bin + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lzma ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/lzma ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |