-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
40 lines (28 loc) · 881 Bytes
/
Makefile
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
# $OpenBSD: Makefile,v 1.12 2011/03/20 23:49:32 edd Exp $
COMMENT= ISO MPEG-4 compliant video codec
DISTNAME= xvidcore-1.3.0
CATEGORIES= multimedia
MASTER_SITES= http://downloads.xvid.org/downloads/
SHARED_LIBS= xvidcore 4.3
HOMEPAGE= http://www.xvid.org/
MAINTAINER= Brad Smith <[email protected]>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m
WRKDIST= ${WRKDIR}/xvidcore
WRKBUILD= ${WRKSRC}/build/generic
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-assembly
CONFIGURE_ENV= API_MAJOR=${LIBxvidcore_VERSION:R} \
API_MINOR=${LIBxvidcore_VERSION:E}
NO_REGRESS= Yes
do-install:
${INSTALL_DATA} ${WRKBUILD}/=build/libxvidcore.* ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/src/xvid.h ${PREFIX}/include
.include <bsd.port.mk>
.if ${NO_SHARED_LIBS:L} == "yes"
MAKE_FLAGS+= SHARED_LIB=""
.endif