diff options
author | wiz <wiz> | 2009-02-15 23:34:06 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-02-15 23:34:06 +0000 |
commit | 99c173db4fdb9cf3aed756851b6f3bf99ed86e51 (patch) | |
tree | fb1944a98d864d3bc723e324a8fcd0cbb8c07001 /multimedia/libtheora | |
parent | 477bc07877d9f1da79d0243db89a606dcb7cb82d (diff) | |
download | pkgsrc-99c173db4fdb9cf3aed756851b6f3bf99ed86e51.tar.gz |
Convert to user-destdir.
Diffstat (limited to 'multimedia/libtheora')
-rw-r--r-- | multimedia/libtheora/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile index f1a3b621b69..97ed0a6a38e 100644 --- a/multimedia/libtheora/Makefile +++ b/multimedia/libtheora/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2009/01/27 21:55:04 sketch Exp $ +# $NetBSD: Makefile,v 1.25 2009/02/15 23:34:06 wiz Exp $ # .include "Makefile.common" @@ -8,6 +8,7 @@ PKGREVISION= 1 PKGCONFIG_OVERRIDE= theora.pc.in theoradec.pc.in theoraenc.pc.in USE_LIBTOOL= YES TEST_TARGET= check +PKG_DESTDIR_SUPPORT= user-destdir # disable doxygen, see libtheora-docs package # also, disable transfig, and *tex. @@ -24,10 +25,12 @@ CONFIGURE_ARGS+= --disable-asm .endif # avoid installing docs -do-install: - cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} install-pkgconfigDATA - cd ${WRKSRC}/include && ${MAKE_ENV} ${MAKE} install - cd ${WRKSRC}/lib && ${MAKE_ENV} ${MAKE} install +INSTALL_DIRS= include lib + +post-install: + cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \ + -f ${MAKE_FILE} install-pkgconfigDATA .include "../../audio/libvorbis/buildlink3.mk" .include "../../multimedia/libogg/buildlink3.mk" |