blob: f4bf23b233256f2f6b73ee61e86346a29c0a72e8 (
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
|
# $NetBSD: Makefile,v 1.9 2008/03/11 13:20:29 tron Exp $
#
SNAPSHOT_DATE= 20071218
DISTNAME= x264-snapshot-${SNAPSHOT_DATE}-2245
PKGNAME= x264-devel-${SNAPSHOT_DATE}
PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.videolan.org/developers/x264.html
COMMENT= GPL licensed H.264 encoder
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm
.endif
# Avoid linker warning under Mac OS X PPC.
.if empty(MACHINE_PLATFORM:MDarwin-*-powerpc)
DARWIN_PPC_LDFLAGS=
.else
DARWIN_PPC_LDFLAGS= -Wl,-read_only_relocs -Wl,suppress
.endif
MAKE_ENV+= DARWIN_PPC_LDFLAGS=${DARWIN_PPC_LDFLAGS:Q}
USE_TOOLS+= gmake
USE_LIBTOOL= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
BUILD_TARGET= default
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|