summaryrefslogtreecommitdiffstats
path: root/graphics/libdv
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-20 17:26:34 +0000
committerlioux <lioux@FreeBSD.org>2002-08-20 17:26:34 +0000
commit4c7fea2634a7b6bc679397e5ee9794d47d74c63e (patch)
tree95d5effb9161ca5cbbec6d5802d71231ae49ac94 /graphics/libdv
parent05456eadce9e59dd4b3c1af285618094a2ac8588 (diff)
downloadFreeBSD-ports-4c7fea2634a7b6bc679397e5ee9794d47d74c63e.zip
FreeBSD-ports-4c7fea2634a7b6bc679397e5ee9794d47d74c63e.tar.gz
o Do not install *.la files; hence, add USE_LIBTOOL required by
patch o Fix build when WITHOUT_SDL is defined o Convert to USE_GNOMENG o Bump PORTREVISION PR: 41501 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'graphics/libdv')
-rw-r--r--graphics/libdv/Makefile28
-rw-r--r--graphics/libdv/files/patch-configure10
-rw-r--r--graphics/libdv/pkg-plist1
3 files changed, 27 insertions, 12 deletions
diff --git a/graphics/libdv/Makefile b/graphics/libdv/Makefile
index f8e843b..dfb9cff 100644
--- a/graphics/libdv/Makefile
+++ b/graphics/libdv/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libdv
PORTVERSION= 0.9.5
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,41 +17,46 @@ MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
popt.0:${PORTSDIR}/devel/popt
-USE_GNOMELIBS= yes
-USE_GTK= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12
USE_REINPLACE= yes
-USE_XLIB= yes
-XFREE86_VERSION= 4
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes
MAN1= encodedv.1 playdv.1
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-
DOC_FILES= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \
README.dvconnect README.encoder TODO
+.include <bsd.port.pre.mk>
+
.ifndef(WITHOUT_SDL)
LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+
CONFIGURE_ARGS+= --enable-sdl
CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}"
.endif
-CONFIGURE_ARGS+= --with-x
-
pre-everything::
+.if ${XFREE86_VERSION} < 4
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> ATTENTION <==='
@${ECHO_MSG} '===> YOU NEED XFREE86 Version 4.0 <==='
@${ECHO_MSG} '===> or above to run this <==='
@${ECHO_MSG} '===> SINCE IT REQUIRES XV <==='
@${ECHO_MSG} '===>'
+ @${FALSE}
+.endif
.ifndef(WITHOUT_SDL)
+ @${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support'
-.endif
@${ECHO_MSG} '===>'
+.endif
post-patch:
@${REINPLACE_CMD} -E \
@@ -77,4 +83,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/libdv/files/patch-configure b/graphics/libdv/files/patch-configure
new file mode 100644
index 0000000..5409211
--- /dev/null
+++ b/graphics/libdv/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Mon Apr 8 05:44:39 2002
++++ configure Sat Aug 10 01:08:07 2002
+@@ -7384,6 +7384,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/graphics/libdv/pkg-plist b/graphics/libdv/pkg-plist
index bf562e8..e6b7b87 100644
--- a/graphics/libdv/pkg-plist
+++ b/graphics/libdv/pkg-plist
@@ -4,7 +4,6 @@ include/libdv/dv.h
include/libdv/dv1394.h
include/libdv/dv_types.h
lib/libdv.a
-lib/libdv.la
lib/libdv.so
lib/libdv.so.1
libdata/pkgconfig/libdv.pc
OpenPOWER on IntegriCloud