diff options
author | jlam <jlam> | 2008-03-02 03:48:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 03:48:36 +0000 |
commit | 3170d23f01ae24aa1c4d6e488619cd4779dc3023 (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/unlzx | |
parent | 3bee3dc66434cf5910b9b2016244f4e8af453b0f (diff) | |
download | pkgsrc-3170d23f01ae24aa1c4d6e488619cd4779dc3023.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/unlzx')
-rw-r--r-- | archivers/unlzx/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/unlzx/Makefile b/archivers/unlzx/Makefile index 5f61c938138..89c8f8682be 100644 --- a/archivers/unlzx/Makefile +++ b/archivers/unlzx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/11/06 20:13:33 reed Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/02 03:48:37 jlam Exp $ DISTNAME= unlzx.c PKGNAME= unlzx-1.1 @@ -11,6 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Extracts .lzx archives from Amiga systems PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} @@ -20,6 +21,6 @@ do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -o unlzx unlzx.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/unlzx ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/unlzx ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |