diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mbone/common-mml | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mbone/common-mml')
-rw-r--r-- | mbone/common-mml/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mbone/common-mml/Makefile b/mbone/common-mml/Makefile index d745953f4e4..df7fbc00f97 100644 --- a/mbone/common-mml/Makefile +++ b/mbone/common-mml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/03/30 15:41:02 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/04 18:15:08 jlam Exp $ # DISTNAME= common-1.2.16 @@ -11,6 +11,8 @@ MAINTAINER= psham@cs.nmsu.edu HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/ COMMENT= Common multimedia library required by mbone tools +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/common GNU_CONFIGURE= yes USE_LIBTOOL= yes @@ -22,8 +24,8 @@ DOCDIR= ${PREFIX}/share/doc/common-mml do-install: ${LIBTOOL} --mode=install \ - ${INSTALL_LIB} ${WRKSRC}/src/*.la ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/src/*.h ${INCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCDIR} + ${INSTALL_LIB} ${WRKSRC}/src/*.la ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${INCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DESTDIR}${DOCDIR} .include "../../mk/bsd.pkg.mk" |