# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # thoggen # thoggen/files # thoggen/files/patch-src_th-utils.c # thoggen/files/patch-configure # thoggen/Makefile # thoggen/distinfo # thoggen/pkg-descr # thoggen/pkg-plist # echo c - thoggen mkdir -p thoggen > /dev/null 2>&1 echo c - thoggen/files mkdir -p thoggen/files > /dev/null 2>&1 echo x - thoggen/files/patch-src_th-utils.c sed 's/^X//' >thoggen/files/patch-src_th-utils.c << 'END-of-thoggen/files/patch-src_th-utils.c' X--- src/th-utils.c.orig Fri Oct 20 11:26:55 2006 X+++ src/th-utils.c Fri Oct 20 11:27:55 2006 X@@ -31,6 +31,8 @@ X #include X #include X #include X+#include X+#include X X #ifdef HAVE_MNTENT_H X # include END-of-thoggen/files/patch-src_th-utils.c echo x - thoggen/files/patch-configure sed 's/^X//' >thoggen/files/patch-configure << 'END-of-thoggen/files/patch-configure' X--- configure.orig Fri Oct 20 13:16:20 2006 X+++ configure Fri Oct 20 13:17:53 2006 X@@ -23782,7 +23782,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element audioresample (>= $gstpluginsbase_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element audioresample (>= $gstpluginsbase_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect audioresample > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect audioresample | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect audioresample | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsbase_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -23862,7 +23862,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element audioconvert (>= $gstpluginsbase_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element audioconvert (>= $gstpluginsbase_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect audioconvert > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect audioconvert | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect audioconvert | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsbase_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -23942,7 +23942,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element ffmpegcolorspace (>= $gstpluginsbase_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element ffmpegcolorspace (>= $gstpluginsbase_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect ffmpegcolorspace > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect ffmpegcolorspace | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect ffmpegcolorspace | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsbase_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24022,7 +24022,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element videorate (>= $gstpluginsbase_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element videorate (>= $gstpluginsbase_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect videorate > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect videorate | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect videorate | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsbase_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24104,7 +24104,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element videobox (>= $gstpluginsgood_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element videobox (>= $gstpluginsgood_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect videobox > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect videobox | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect videobox | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsgood_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24189,7 +24189,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element mpeg2dec (>= $gstpluginsugly_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element mpeg2dec (>= $gstpluginsugly_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect mpeg2dec > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect mpeg2dec | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect mpeg2dec | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsugly_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24272,7 +24272,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element a52dec (>= $gstpluginsugly_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element a52dec (>= $gstpluginsugly_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect a52dec > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect a52dec | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect a52dec | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsugly_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24355,7 +24355,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element dvddemux (>= $gstpluginsugly_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element dvddemux (>= $gstpluginsugly_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect dvddemux > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect dvddemux | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect dvddemux | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsugly_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24438,7 +24438,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element dvdreadsrc (>= $gstpluginsugly_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element dvdreadsrc (>= $gstpluginsugly_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect dvdreadsrc > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect dvdreadsrc | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect dvdreadsrc | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsugly_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24521,7 +24521,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element theoraenc (>= $gstpluginsbase_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element theoraenc (>= $gstpluginsbase_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect theoraenc > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect theoraenc | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect theoraenc | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsbase_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24601,7 +24601,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element vorbisenc (>= $gstpluginsbase_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element vorbisenc (>= $gstpluginsbase_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect vorbisenc > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect vorbisenc | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect vorbisenc | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsbase_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; X@@ -24681,7 +24681,7 @@ X { echo "$as_me:$LINENO: checking for GStreamer-0.10 element oggmux (>= $gstpluginsbase_required)" >&5 X echo $ECHO_N "checking for GStreamer-0.10 element oggmux (>= $gstpluginsbase_required)... $ECHO_C" >&6; } X if $th_gstmajmin_inspect oggmux > /dev/null 2> /dev/null ; then X- th_element_version=`$th_gstmajmin_inspect oggmux | $EGREP Version | $SED 's/^.*\s0.10/0.10/'` X+ th_element_version=`$th_gstmajmin_inspect oggmux | $EGREP Version | $SED 's/^.*Version:.*[[:cntrl:]]//'` X found_version_rest=`echo $th_element_version | $SED 's/^0.10\.//'` X min_version_rest=`echo $gstpluginsbase_required | $SED 's/^0.10\.//'` X if echo | $AWK "{ if ($found_version_rest < $min_version_rest) exit 1; else exit 0;}"; END-of-thoggen/files/patch-configure echo x - thoggen/Makefile sed 's/^X//' >thoggen/Makefile << 'END-of-thoggen/Makefile' X# New ports collection makefile for: thoggen X# Date created: 20 October 2006 X# Whom: Mezz X# X# $FreeBSD$ X# $Id$ X# X XPORTNAME= thoggen XPORTVERSION= 0.6.0 XCATEGORIES= multimedia XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= multimedia@FreeBSD.org XCOMMENT= A DVD backup utility (DVD ripper), based on GStreamer and Gtk+ X XBUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes XLIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal \ X dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib XRUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes X XUSE_GMAKE= yes XUSE_XLIB= yes XUSE_GNOME= gnometarget intlhack libglade2 XUSE_GETTEXT= yes XUSE_GSTREAMER= core dts dvd mpeg2dec ugly XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --disable-valgrind-check XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" X XDOCS= AUTHORS COPYING ChangeLog NEWS README TODO X Xpost-patch: X @${REINPLACE_CMD} -e 's|" == "|" = "|g' \ X ${WRKSRC}/configure X X.ifndef (NOPORTDOCS) Xpost-install: X @${MKDIR} ${DOCSDIR} X.for i in ${DOCS} X @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} X.endfor X.endif X X.include END-of-thoggen/Makefile echo x - thoggen/distinfo sed 's/^X//' >thoggen/distinfo << 'END-of-thoggen/distinfo' XMD5 (thoggen-0.6.0.tar.gz) = f937f3e06f98c6cc038ea90b57e35820 XSHA256 (thoggen-0.6.0.tar.gz) = 62d9d452157223057c41752933266a4a60391d07c4f7631d30a57d0881de1923 XSIZE (thoggen-0.6.0.tar.gz) = 894410 END-of-thoggen/distinfo echo x - thoggen/pkg-descr sed 's/^X//' >thoggen/pkg-descr << 'END-of-thoggen/pkg-descr' XThoggen is a DVD backup utility ('DVD ripper'), based on GStreamer and Gtk+. X XWWW: http://www.thoggen.net/ END-of-thoggen/pkg-descr echo x - thoggen/pkg-plist sed 's/^X//' >thoggen/pkg-plist << 'END-of-thoggen/pkg-plist' X...empty... END-of-thoggen/pkg-plist exit