aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-20 17:26:34 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-20 17:26:34 +0000
commitabe5b36b3b0edd0cd1512aa323c3aa85ffb0f3dd (patch)
tree2ebe7b6d958711fffaef997e3049608c79c429f9 /graphics
parent716626f32255826ef516e02322a7a56594a7f18d (diff)
downloadports-abe5b36b3b0edd0cd1512aa323c3aa85ffb0f3dd.tar.gz
ports-abe5b36b3b0edd0cd1512aa323c3aa85ffb0f3dd.zip
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>
Notes
Notes: svn path=/head/; revision=64704
Diffstat (limited to 'graphics')
-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 f8e843b5cbab..dfb9cffd029c 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 000000000000..5409211ada9e
--- /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 bf562e869102..e6b7b87fb787 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