diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 03:48:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 03:48:36 +0000 |
commit | 6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/upx | |
parent | abd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff) | |
download | pkgsrc-6a0bbfc67659e8fd303162cd3c8e2f27b4be528b.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/upx')
-rw-r--r-- | archivers/upx/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile index 9aab771ba00..e2285749200 100644 --- a/archivers/upx/Makefile +++ b/archivers/upx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/09/29 10:23:08 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/02 03:48:37 jlam Exp $ DISTNAME= upx-1.25-src PKGNAME= ${DISTNAME:S/-src//} @@ -10,6 +10,8 @@ MAINTAINER= fab@gnux.info HOMEPAGE= http://upx.sourceforge.net/ COMMENT= Ultimate packer for executables +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_TOOLS+= gmake perl @@ -26,10 +28,12 @@ do-build: cd ${WRKSRC:Q}/doc && ${MAKE_PROGRAM} do-install: - ${INSTALL_PROGRAM} ${WRKSRC:Q}/src/upx ${PREFIX:Q}/bin - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/upx/ - ${INSTALL_DATA} ${WRKSRC:Q}/doc/upx.doc ${PREFIX:Q}/share/doc/upx - ${INSTALL_DATA} ${WRKSRC:Q}/doc/upx.html ${PREFIX:Q}/share/doc/upx + ${INSTALL_PROGRAM} ${WRKSRC:Q}/src/upx ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/doc/upx/ + ${INSTALL_DATA} ${WRKSRC:Q}/doc/upx.doc \ + ${DESTDIR}${PREFIX:Q}/share/doc/upx + ${INSTALL_DATA} ${WRKSRC:Q}/doc/upx.html \ + ${DESTDIR}${PREFIX:Q}/share/doc/upx .include "../../devel/ucl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |