summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz>2008-11-05 14:23:44 +0000
committerwiz <wiz>2008-11-05 14:23:44 +0000
commit4313ea75fa048cde688f8e5a135680fba9617d7f (patch)
treec685f5da6eca35dcfedf0c8ff2fa6d48d6fdd8ba /multimedia
parent347928539cb75de4e752babc1b4de3faff45dfca (diff)
downloadpkgsrc-4313ea75fa048cde688f8e5a135680fba9617d7f.tar.gz
Remove documentation from this package to avoid doxygen dependency.
Requested by tron.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libtheora/Makefile29
-rw-r--r--multimedia/libtheora/Makefile.common24
-rw-r--r--multimedia/libtheora/PLIST79
3 files changed, 35 insertions, 97 deletions
diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile
index cb2fe6086c1..6239202ca29 100644
--- a/multimedia/libtheora/Makefile
+++ b/multimedia/libtheora/Makefile
@@ -1,30 +1,22 @@
-# $NetBSD: Makefile,v 1.19 2008/11/05 13:11:48 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2008/11/05 14:23:44 wiz Exp $
#
-DISTNAME= libtheora-1.0
-PKGNAME= libtheora-1.0
-CATEGORIES= multimedia
-MASTER_SITES= http://downloads.xiph.org/releases/theora/
-EXTRACT_SUFX= .tar.bz2
+.include "Makefile.common"
-MAINTAINER= wiz@NetBSD.org
-HOMEPAGE= http://www.theora.org/
-COMMENT= Video codec for Ogg multimedia streaming
+PKGREVISION= 1
-BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
-
-PKG_DESTDIR_SUPPORT= user-destdir
-
-GNU_CONFIGURE= YES
PKGCONFIG_OVERRIDE= theora.pc.in theoradec.pc.in theoraenc.pc.in
USE_LIBTOOL= YES
TEST_TARGET= check
-CONFIGURE_ARGS+= --disable-examples
-# disable player
-CONFIGURE_ENV+= ac_cv_path_SDL_CONFIG=no
+# disable doxygen, see libtheora-docs package
+CONFIGURE_ENV+= HAVE_DOXYGEN=no
-PLIST_SUBST+= SUBDIR=${DISTNAME}
+# 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
.include "../../mk/bsd.prefs.mk"
@@ -34,5 +26,4 @@ CONFIGURE_ARGS+= --disable-asm
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libtheora/Makefile.common b/multimedia/libtheora/Makefile.common
new file mode 100644
index 00000000000..2bba0deec89
--- /dev/null
+++ b/multimedia/libtheora/Makefile.common
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile.common,v 1.1 2008/11/05 14:23:44 wiz Exp $
+#
+# used by multimedia/libtheora-docs/Makefile
+
+DISTNAME= libtheora-1.0
+CATEGORIES= multimedia
+MASTER_SITES= http://downloads.xiph.org/releases/theora/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://www.theora.org/
+COMMENT= Video codec for Ogg multimedia streaming
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= YES
+
+CONFIGURE_ARGS+= --disable-examples
+# disable player
+CONFIGURE_ENV+= ac_cv_path_SDL_CONFIG=no
+
+PLIST_SUBST+= SUBDIR=${DISTNAME}
+
+DISTINFO_FILE= ${.CURDIR}/../../multimedia/libtheora/distinfo
diff --git a/multimedia/libtheora/PLIST b/multimedia/libtheora/PLIST
index 2471099df6d..661506df235 100644
--- a/multimedia/libtheora/PLIST
+++ b/multimedia/libtheora/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2008/10/09 19:46:55 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2008/11/05 14:23:44 wiz Exp $
include/theora/codec.h
include/theora/theora.h
include/theora/theoradec.h
@@ -9,81 +9,4 @@ lib/libtheoraenc.la
lib/pkgconfig/theora.pc
lib/pkgconfig/theoradec.pc
lib/pkgconfig/theoraenc.pc
-share/doc/${SUBDIR}/color.html
-share/doc/${SUBDIR}/doxygen-build.stamp
-share/doc/${SUBDIR}/draft-ietf-avt-rtp-theora-00.txt
-share/doc/${SUBDIR}/draft-ietf-avt-rtp-theora-00.xml
-share/doc/${SUBDIR}/html/annotated.html
-share/doc/${SUBDIR}/html/codec_8h-source.html
-share/doc/${SUBDIR}/html/codec_8h.html
-share/doc/${SUBDIR}/html/doxygen.css
-share/doc/${SUBDIR}/html/doxygen.png
-share/doc/${SUBDIR}/html/files.html
-share/doc/${SUBDIR}/html/functions.html
-share/doc/${SUBDIR}/html/functions_vars.html
-share/doc/${SUBDIR}/html/globals.html
-share/doc/${SUBDIR}/html/globals_defs.html
-share/doc/${SUBDIR}/html/globals_enum.html
-share/doc/${SUBDIR}/html/globals_eval.html
-share/doc/${SUBDIR}/html/globals_func.html
-share/doc/${SUBDIR}/html/globals_type.html
-share/doc/${SUBDIR}/html/globals_vars.html
-share/doc/${SUBDIR}/html/group__basefuncs.html
-share/doc/${SUBDIR}/html/group__decfuncs.html
-share/doc/${SUBDIR}/html/group__encfuncs.html
-share/doc/${SUBDIR}/html/group__oldfuncs.html
-share/doc/${SUBDIR}/html/index.html
-share/doc/${SUBDIR}/html/modules.html
-share/doc/${SUBDIR}/html/structth__comment.html
-share/doc/${SUBDIR}/html/structth__huff__code.html
-share/doc/${SUBDIR}/html/structth__img__plane.html
-share/doc/${SUBDIR}/html/structth__info.html
-share/doc/${SUBDIR}/html/structth__quant__info.html
-share/doc/${SUBDIR}/html/structth__quant__ranges.html
-share/doc/${SUBDIR}/html/structth__stripe__callback.html
-share/doc/${SUBDIR}/html/structtheora__comment.html
-share/doc/${SUBDIR}/html/structtheora__info.html
-share/doc/${SUBDIR}/html/structtheora__state.html
-share/doc/${SUBDIR}/html/structyuv__buffer.html
-share/doc/${SUBDIR}/html/tab_b.gif
-share/doc/${SUBDIR}/html/tab_l.gif
-share/doc/${SUBDIR}/html/tab_r.gif
-share/doc/${SUBDIR}/html/tabs.css
-share/doc/${SUBDIR}/html/theora_8h-source.html
-share/doc/${SUBDIR}/html/theora_8h.html
-share/doc/${SUBDIR}/html/theoradec_8h-source.html
-share/doc/${SUBDIR}/html/theoradec_8h.html
-share/doc/${SUBDIR}/html/theoraenc_8h-source.html
-share/doc/${SUBDIR}/html/theoraenc_8h.html
-share/doc/${SUBDIR}/latex/FreeSans.ttf
-share/doc/${SUBDIR}/latex/Makefile
-share/doc/${SUBDIR}/latex/annotated.tex
-share/doc/${SUBDIR}/latex/codec_8h.tex
-share/doc/${SUBDIR}/latex/doxygen.sty
-share/doc/${SUBDIR}/latex/files.tex
-share/doc/${SUBDIR}/latex/group__basefuncs.tex
-share/doc/${SUBDIR}/latex/group__decfuncs.tex
-share/doc/${SUBDIR}/latex/group__encfuncs.tex
-share/doc/${SUBDIR}/latex/group__oldfuncs.tex
-share/doc/${SUBDIR}/latex/index.tex
-share/doc/${SUBDIR}/latex/modules.tex
-share/doc/${SUBDIR}/latex/refman.tex
-share/doc/${SUBDIR}/latex/structth__comment.tex
-share/doc/${SUBDIR}/latex/structth__huff__code.tex
-share/doc/${SUBDIR}/latex/structth__img__plane.tex
-share/doc/${SUBDIR}/latex/structth__info.tex
-share/doc/${SUBDIR}/latex/structth__quant__info.tex
-share/doc/${SUBDIR}/latex/structth__quant__ranges.tex
-share/doc/${SUBDIR}/latex/structth__stripe__callback.tex
-share/doc/${SUBDIR}/latex/structtheora__comment.tex
-share/doc/${SUBDIR}/latex/structtheora__info.tex
-share/doc/${SUBDIR}/latex/structtheora__state.tex
-share/doc/${SUBDIR}/latex/structyuv__buffer.tex
-share/doc/${SUBDIR}/latex/theora_8h.tex
-share/doc/${SUBDIR}/latex/theoradec_8h.tex
-share/doc/${SUBDIR}/latex/theoraenc_8h.tex
-share/doc/${SUBDIR}/vp3-format.txt
-@dirrm share/doc/${SUBDIR}/latex
-@dirrm share/doc/${SUBDIR}/html
-@dirrm share/doc/${SUBDIR}
@dirrm include/theora