aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdnav/Makefile
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-05-20 17:48:25 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-05-20 17:48:25 +0000
commit522e2a0309512570c8b4fe777e190c31d5a11e83 (patch)
tree360fee50e332e6ad1fced38960b44b17de344813 /multimedia/libdvdnav/Makefile
parent3c0571ab41d1978c9e87c7a183d39acca4b7b93f (diff)
downloadports-522e2a0309512570c8b4fe777e190c31d5a11e83.tar.gz
ports-522e2a0309512570c8b4fe777e190c31d5a11e83.zip
Notes
Diffstat (limited to 'multimedia/libdvdnav/Makefile')
-rw-r--r--multimedia/libdvdnav/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile
new file mode 100644
index 000000000000..ae35c752da77
--- /dev/null
+++ b/multimedia/libdvdnav/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: libdvdnav
+# Date created: 21 May 2002
+# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdvdnav
+PORTVERSION= 0.1.0
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= dvd
+
+MAINTAINER= nobutaka@FreeBSD.org
+
+LIB_DEPENDS= dvdread.2:${PORTSDIR}/graphics/libdvdread
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ THREAD_LIBS="${PTHREAD_LIBS}"
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${PERL} -pi -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>