blob: df2394cd5dc3e4b756f56d5aeeb612bb3a2dea73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile.common,v 1.11 2010/03/03 08:44:38 obache Exp $
#
# used by multimedia/libdv-tools/Makefile
DISTNAME= libdv-1.0.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdv/}
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://libdv.sourceforge.net/
COMMENT= DV video codec library
PKG_DESTDIR_SUPPORT= user-destdir
DISTINFO_FILE= ${.CURDIR}/../../multimedia/libdv/distinfo
PATCHDIR= ${.CURDIR}/../../multimedia/libdv/patches
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= ${WRKSRC}/libdv.pc.in
PTHREAD_AUTO_VARS= yes
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "Darwin") || empty(MACHINE_PLATFORM:M*-*-i386) || (${OPSYS} == "Interix")
CONFIGURE_ARGS+= --disable-asm
.endif
.if ${X11_TYPE} != "native"
.include "../../x11/libXv/buildlink3.mk"
.elif !exists(${X11BASE}/include/X11/extensions/Xvlib.h)
CONFIGURE_ARGS+= --disable-xv
.endif
LIBS+= ${LIBOSSAUDIO}
.if empty(CFLAGS:M-O*)
CFLAGS+= -O
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
|