blob: 18d30b04f078a4fc0af2b1f653c5597b4b9d35ae (
plain) (
blame)
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
47
48
49
50
51
52
|
# New ports collection makefile for: libdvdnav
# Date created: 21 May 2002
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#
PORTNAME= libdvdnav
PORTVERSION= 4.2.0
PORTREVISION= 1
CATEGORIES= multimedia
# Svn repository URL : svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
MASTER_SITES= http://dvdnav.mplayerhq.hu/releases/ \
http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
MAINTAINER= martymac@FreeBSD.org
COMMENT= MPlayer version of the libdvdnav project
LICENSE= GPLv2
LIB_DEPENDS= dvdread:${PORTSDIR}/multimedia/libdvdread
USE_BZIP2= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure2
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--libdir="${PREFIX}/lib" \
--libdatadir="${PREFIX}/libdata/pkgconfig" \
--shlibdir="${PREFIX}/lib" \
--incdir="${PREFIX}/include/dvdnav" \
--disable-opts \
--cc="${CC}"
USE_GMAKE= yes
CONFLICTS= libdvdnav-mplayer-[0-9]*
USE_LDCONFIG= yes
OPTIONS_DEFINE= DEBUG
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --enable-debug --disable-strip
.else
CONFIGURE_ARGS+= --disable-debug
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \
${WRKSRC}/configure2
.include <bsd.port.post.mk>
|