1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/multimedia/libdvdnav/Makefile
MANTANI Nobutaka 26e794c61a Use ${REINPLACE_CMD} instead of ${PERL}.
Pointed out by:	kris
2003-03-24 15:21:48 +00:00

33 lines
877 B
Makefile

# New ports collection makefile for: libdvdnav
# Date created: 21 May 2002
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#
PORTNAME= libdvdnav
PORTVERSION= 0.1.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.3:${PORTSDIR}/multimedia/libdvdread
GNU_CONFIGURE= yes
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
THREAD_LIBS="${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes
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' ${WRKSRC}/configure
.include <bsd.port.mk>