freebsd-ports/multimedia/libdvdnav/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

39 lines
1.1 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.9
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.3:${PORTSDIR}/multimedia/libdvdread
GNU_CONFIGURE= yes
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
THREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --program-transform-name=''
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=13
USE_REINPLACE= yes
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 ; \
s|aclocal-1.7|aclocal17|g ; \
s|automake-1.7|automake17|g ; \
s|autoconf|autoconf257|g ; \
s|autoheader|autoheader257|g' ${WRKSRC}/configure \
${WRKSRC}/missing ${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh
.include <bsd.port.mk>