diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2002-03-06 14:34:49 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2002-03-06 14:34:49 +0000 |
commit | bcd34f18be89c0e11bb025c0ee223a8a25d99c56 (patch) | |
tree | a65ffa32d5d08802184ad55a732c9e8ca8f03c93 /multimedia | |
parent | c308510803d08ceb55a7f93d18d6d49088561518 (diff) | |
download | ports-bcd34f18be89c0e11bb025c0ee223a8a25d99c56.tar.gz ports-bcd34f18be89c0e11bb025c0ee223a8a25d99c56.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xine_d4d_plugin/Makefile | 19 | ||||
-rw-r--r-- | multimedia/xine_d4d_plugin/distinfo | 2 | ||||
-rw-r--r-- | multimedia/xine_d4d_plugin/files/patch-ltmain.sh | 49 | ||||
-rw-r--r-- | multimedia/xine_d4d_plugin/pkg-plist | 1 |
4 files changed, 68 insertions, 3 deletions
diff --git a/multimedia/xine_d4d_plugin/Makefile b/multimedia/xine_d4d_plugin/Makefile index f9cb59938c5d..1b4cb5b2ae86 100644 --- a/multimedia/xine_d4d_plugin/Makefile +++ b/multimedia/xine_d4d_plugin/Makefile @@ -8,7 +8,9 @@ PORTNAME= xine_d4d_plugin PORTVERSION= 0.3.0 CATEGORIES= graphics -MASTER_SITES= http://www.geocities.com/captain_css/ +MASTER_SITES= http://worldzone.net/technology/captaincss/ \ + http://debianlinux.net/ +DISTFILES= d4d030.txt MAINTAINER= gibbon@cocoa.freemail.ne.jp @@ -16,8 +18,23 @@ LIB_DEPENDS= xine.0:${PORTSDIR}/graphics/libxine GNU_CONFIGURE= yes USE_X_PREFIX= yes +CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + THREAD_LIBS="${PTHREAD_LIBS}" INSTALLS_SHLIB= yes +do-extract: + (${MKDIR} ${WRKDIR}; \ + cd ${WRKDIR}; \ + ${SH} ${DISTDIR}/${DISTFILES}; \ + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}) + +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||g ; \ + s|-I/usr/local/include||g' ${WRKSRC}/configure + post-install: @${CAT} ${PKGMESSAGE} diff --git a/multimedia/xine_d4d_plugin/distinfo b/multimedia/xine_d4d_plugin/distinfo index 00e57d8df6b7..727f8050af62 100644 --- a/multimedia/xine_d4d_plugin/distinfo +++ b/multimedia/xine_d4d_plugin/distinfo @@ -1 +1 @@ -MD5 (xine_d4d_plugin-0.3.0.tar.gz) = 5d9d4f35571505a79b5f6dc81c03c82e +MD5 (d4d030.txt) = 0bdb45fa4a7c7116b9ed1875941707e7 diff --git a/multimedia/xine_d4d_plugin/files/patch-ltmain.sh b/multimedia/xine_d4d_plugin/files/patch-ltmain.sh new file mode 100644 index 000000000000..c77cdbdf23c4 --- /dev/null +++ b/multimedia/xine_d4d_plugin/files/patch-ltmain.sh @@ -0,0 +1,49 @@ +--- ltmain.sh.orig Mon Nov 12 16:27:33 2001 ++++ ltmain.sh Fri Jan 25 23:31:44 2002 +@@ -956,6 +956,7 @@ + ;; + + -avoid-version) ++ build_old_libs=no + avoid_version=yes + continue + ;; +@@ -1043,14 +1044,14 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2446,7 +2447,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + ;; + *) +@@ -4215,10 +4216,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/multimedia/xine_d4d_plugin/pkg-plist b/multimedia/xine_d4d_plugin/pkg-plist index 6ff9851fb2c5..166c6bd880a2 100644 --- a/multimedia/xine_d4d_plugin/pkg-plist +++ b/multimedia/xine_d4d_plugin/pkg-plist @@ -1,3 +1,2 @@ -lib/xine/plugins/xineplug_inp_d4d.la lib/xine/plugins/xineplug_inp_d4d.so @unexec rmdir %D/lib/xine/plugins 2>/dev/null || true |