1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/multimedia/libdvdnav/Makefile
Ade Lovett 771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00

42 lines
1.2 KiB
Makefile

# New ports collection makefile for: libdvdnav
# Date created: 21 May 2002
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#
PORTNAME= libdvdnav
PORTVERSION= 0.1.10
PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dvd
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= The library for the xine-dvdnav plugin
LIB_DEPENDS= dvdread.5:${PORTSDIR}/multimedia/libdvdread
CONFLICTS= libdvdnav-mplayer-[0-9]*
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
THREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --program-transform-name=''
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15 autoconf:262 automake:16
post-patch:
${REINPLACE_CMD} -e \
's|THREAD_LIBS="[^"]*"$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
s|-L/usr/local/lib|-L${LOCALBASE}/lib|g ; \
s|-I/usr/local/include|-I${LOCALBASE}/include|g' \
${WRKSRC}/configure ${WRKSRC}/configure.ac \
${WRKSRC}/missing ${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh
post-configure:
${REINPLACE_CMD} -e 's|automake[0-9][0-9]|${TRUE}|' \
`${FIND} ${WRKSRC} -type f -name Makefile`
.include <bsd.port.mk>