1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/multimedia/libdvdnav/Makefile
Ganael LAPLANCHE 413f0b8ea0 - Remove DISTNAME substitution (distfile name changed upstream)
- Mirror to LOCAL/martymac (remove LOCAL/makc)
- Update to svn r1219, which includes a bugfix
  that prevents abort if a menu doesn't exist

Approved by:	itetcu (mentor)
2010-12-03 13:13:20 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: libdvdnav
# Date created: 21 May 2002
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#
PORTNAME= libdvdnav
PORTVERSION= 4.1.4.r1219
CATEGORIES= multimedia
# Svn repository URL : svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \
http://www2.mplayerhq.hu/MPlayer/releases/dvdnav/ \
http://www3.mplayerhq.hu/MPlayer/releases/dvdnav/ \
http://www4.mplayerhq.hu/MPlayer/releases/dvdnav/ \
http://www5.mplayerhq.hu/MPlayer/releases/dvdnav/ \
ftp://ftp1.mplayerhq.hu/MPlayer/releases/dvdnav/ \
ftp://ftp2.mplayerhq.hu/MPlayer/releases/dvdnav/ \
LOCAL/martymac
MAINTAINER= martymac@FreeBSD.org
COMMENT= MPlayer version of the libdvdnav project
LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread
LICENSE= GPLv2
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 \
--disable-debug \
--cc="${CC}"
USE_GMAKE= yes
CONFLICTS= libdvdnav-mplayer-[0-9]*
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's|^threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \
${WRKSRC}/configure2
.include <bsd.port.mk>