diff options
author | wiz <wiz@pkgsrc.org> | 2009-02-15 23:34:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-02-15 23:34:06 +0000 |
commit | 1f5a549bd021c781ba653d11b5f145522587ab1c (patch) | |
tree | fb1944a98d864d3bc723e324a8fcd0cbb8c07001 /multimedia | |
parent | bf60cd6ee2a83338477259d121638e515c1d7db8 (diff) | |
download | pkgsrc-1f5a549bd021c781ba653d11b5f145522587ab1c.tar.gz |
Convert to user-destdir.
Diffstat (limited to 'multimedia')
-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" |