diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/mpeg2codec | |
parent | a6923789124411b85aaa9c9d97b6522350124999 (diff) | |
download | pkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/mpeg2codec')
-rw-r--r-- | graphics/mpeg2codec/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/mpeg2codec/Makefile b/graphics/mpeg2codec/Makefile index de4da8b71f4..cf8b873ceb4 100644 --- a/graphics/mpeg2codec/Makefile +++ b/graphics/mpeg2codec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/01/10 09:48:55 abs Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/04 15:39:10 jlam Exp $ DISTNAME= mpeg2vidcodec_v12 PKGNAME= mpeg2codec-1.2 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.mpeg.org/MSSG/ COMMENT= MPEG Software Simulation Group's MPEG-2 Encoder and Decoder PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/mpeg2 USE_X11BASE= yes @@ -25,11 +26,11 @@ do-install: ${INSTALL_PROGRAM} \ ${WRKSRC}/src/mpeg2dec/mpeg2decode \ ${WRKSRC}/src/mpeg2enc/mpeg2encode \ - ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mpeg2codec + ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mpeg2codec ${INSTALL_DATA} ${WRKSRC}/doc/mpeg2enc.doc \ - ${PREFIX}/share/doc/mpeg2codec - ${INSTALL_DATA_DIR} ${PREFIX}/share/mpeg2codec - ${INSTALL_DATA} ${WRKSRC}/par/* ${PREFIX}/share/mpeg2codec + ${DESTDIR}${PREFIX}/share/doc/mpeg2codec + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/mpeg2codec + ${INSTALL_DATA} ${WRKSRC}/par/* ${DESTDIR}${PREFIX}/share/mpeg2codec .include "../../mk/bsd.pkg.mk" |