ports/119187: [PATCH] Unbreak russian/xmms (includes two new ports)

Ulrich Spörlein uspoerlein at gmail.com
Mon Dec 31 11:50:01 UTC 2007


>Number:         119187
>Category:       ports
>Synopsis:       [PATCH] Unbreak russian/xmms (includes two new ports)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 31 11:50:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spörlein
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
>Description:
The old encoding patches for xmms 1.2.10 no longer apply to 1.2.11 and have
been split up into multiple patches that rely on at least two external
libraries to make it do something useful. The authors suggest even more
dependencies but I've taken the minimal approach for now.

What's in it:

- Ports for devel/librcc and devel/librcd
- Since the patches for the encoding and id3v2 support are intertwined I
  renamed the knob to WITH_RUSXMMS_PATCHES, mention this in UPDATING (don't
  know if this is really necessary, users of russian/xmms wont have to do
  anything special)
- Since there are patches to Makefile.in/configure.in we need to rerun
  the full autohell stuff [*]

[*] I cannot stress how much I hate this autotools crap with its cryptic
error messages, non-obvious handling and fragile sh/m4/make syntax. 90%
of the time that went into this PR was due to autotools errors.

My New Year's pledge will be to never touch anything related to autotools
again!
>How-To-Repeat:
>Fix:

--- xmms.patch begins here ---
Index: UPDATING
===================================================================
RCS file: /home/ncvs/ports/UPDATING,v
retrieving revision 1.571
diff -u -p -r1.571 UPDATING
--- UPDATING	25 Dec 2007 19:56:34 -0000	1.571
+++ UPDATING	31 Dec 2007 11:05:49 -0000
@@ -6,6 +6,13 @@ You should get into the habit of checkin
 time you update your ports collection, before attempting any port
 upgrades.
 
+20071230:
+  AFFECTS: users of audio/xmms and russian/xmms
+  AUTHOR: uspoerlein at gmail.com
+
+  With the update to 1.2.11 the WITH_ENCODING_PATCH and WITH_ID3V2_PATCH
+  are now subsumed by the WITH_RUSXMMS_PATCHES flag.
+
 20071225:
   AFFECTS: users of www/amphetadesk
   AUTHOR: lioux at FreeBSD.org
Index: devel/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/Makefile,v
retrieving revision 1.2945
diff -u -p -r1.2945 Makefile
--- devel/Makefile	26 Dec 2007 13:31:29 -0000	1.2945
+++ devel/Makefile	31 Dec 2007 11:05:49 -0000
@@ -636,6 +636,8 @@
     SUBDIR += libphish
     SUBDIR += libpperl
     SUBDIR += libpthread-stubs
+    SUBDIR += librcc
+    SUBDIR += librcd
     SUBDIR += libredblack
     SUBDIR += libruin
     SUBDIR += libs11n
Index: multimedia/xmms/Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/xmms/Makefile,v
retrieving revision 1.91
diff -u -p -r1.91 Makefile
--- multimedia/xmms/Makefile	22 Dec 2007 13:48:44 -0000	1.91
+++ multimedia/xmms/Makefile	31 Dec 2007 11:05:49 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	xmms
 PORTVERSION=	1.2.11
+PORTREVISION=	1
 CATEGORIES+=	multimedia audio ipv6
 MASTER_SITES=	http://www.xmms.org/files/1.2.x/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -17,14 +18,15 @@ COMMENT?=	X Multimedia System -- An audi
 USE_BZIP2=	yes
 USE_GL=		gl
 USE_GNOME=	gtk12 gnomehack
-WANT_GNOME=	yes
 USE_GMAKE=	yes
 USE_GETTEXT=	yes
 USE_ICONV=	yes
 USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=  aclocal:19 automake:19 autoheader:261 autoconf:261
+ACLOCAL_ARGS=	--force
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib" \
+		PTHREAD_LIBS="${PTHREAD_LIBS}" \
 		INPUT_PLUGINS="${INPUT_PLUGINS}" \
 		OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
 		VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
@@ -42,6 +44,16 @@ PLIST_SUB=	DATADIR="share"
 
 CONFIGURE_ARGS+=	--enable-ipv6
 
+.if defined(WITH_RUSXMMS_PATCHES)
+ENC_PATCHLEVEL=	41
+DISTFILES+=	RusXMMS2-csa${ENC_PATCHLEVEL}${EXTRACT_SUFX}:enc
+MASTER_SITES+=	${MASTER_SITE_SOURCEFORGE:S/$/:enc/}
+MASTER_SITE_SUBDIR+=	rusxmms/:enc
+
+LIB_DEPENDS+=	rcc.2:${PORTSDIR}/devel/librcc
+LIB_DEPENDS+=	rcd.1:${PORTSDIR}/devel/librcd
+.endif
+
 .if defined(WITH_EXTENDED_VORBIS_FILEINFO)
 CFLAGS+=	-DALL_VORBIS_TAGS
 .endif
@@ -92,8 +104,12 @@ post-extract:
 .endif
 
 pre-extract:
-.if !defined(WITHOUT_MIKMOD) || !defined(WITHOUT_VORBIS) || ( !defined(WITHOUT_SIMD) ) || ${HAVE_GNOME:Mesound}!=""
+.if !defined(WITHOUT_MIKMOD) || !defined(WITHOUT_VORBIS) || !defined(WITHOUT_SIMD) \
+  || ${HAVE_GNOME:Mesound}!="" || !defined(WITH_RUSXMMS_PATCHES)
 	@${ECHO_MSG}
+.if !defined(WITH_RUSXMMS_PATCHES)
+	@${ECHO_MSG} "You can enable support for ID3v2 tags and CP1251 encoding by defining WITH_RUSXMMS_PATCHES."
+.endif
 .if !defined(WITHOUT_MIKMOD)
 	@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_MIKMOD."
 .endif
@@ -110,14 +126,41 @@ pre-extract:
 .endif
 
 post-patch:
-	@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
-		 's|\(datadir\)/aclocal|(prefix)/share/aclocal|g'
-	@${REINPLACE_CMD} -e 's|{datadir}/locale|{prefix}/share/locale|g' \
-		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' \
-		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e '/objformat/s|echo aout|echo elf|' \
-		${WRKSRC}/configure ${WRKSRC}/libxmms/configure
+.if defined(WITH_RUSXMMS_PATCHES)
+.  for src in source/rcc.c source/rcc.h source/rcc_langs.h
+	@${INSTALL_DATA} ${WRKDIR}/RusXMMS2/${src} ${WRKSRC}/libxmms
+.  endfor
+	@${CAT} ${WRKDIR}/RusXMMS2/3rdparty/mpg123/*.patch | ${PATCH} -s -p1 -d ${WRKSRC}
+.  for diff in xmms-ds-rusxmms.patch xmms-ds-rusxmms-charset.patch \
+       xmms-ds-playlist.patch xmms-ds-shade.patch xmms-ds-textbox.patch
+	@${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/RusXMMS2/patches/${diff}
+.  endfor
+.  for diff in xmms-ds-mpg123.patch xmms-ds-mpg123-editor.patch \
+       xmms-ds-mpg123-editor-keys.patch xmms-ds-vorbis-editor.patch \
+       xmms-ds-vorbis-editor-keys.patch
+	@${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/RusXMMS2/patches/plugins/${diff}
+.  endfor
+.endif
+
+# There are patches to configure.in and Makefile.in, recreate configure
+# scripts
+run-autotools:
+	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} \
+		${ACLOCAL_ARGS})
+	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOHEADER} \
+		${AUTOHEADER_ARGS})
+	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} \
+		${AUTOCONF_ARGS})
+	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} \
+		${AUTOMAKE_ARGS})
+	@(cd ${CONFIGURE_WRKSRC}/libxmms && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} \
+		${ACLOCAL_ARGS})
+	@(cd ${CONFIGURE_WRKSRC}/libxmms && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOHEADER} \
+		${AUTOHEADER_ARGS})
+	@(cd ${CONFIGURE_WRKSRC}/libxmms && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} \
+		${AUTOCONF_ARGS})
+	@(cd ${CONFIGURE_WRKSRC}/libxmms && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} \
+		${AUTOMAKE_ARGS})
 
 post-install:
 	@${MKDIR} ${PREFIX}/share/xmms/Skins
Index: multimedia/xmms/distinfo
===================================================================
RCS file: /home/ncvs/ports/multimedia/xmms/distinfo,v
retrieving revision 1.23
diff -u -p -r1.23 distinfo
--- multimedia/xmms/distinfo	22 Dec 2007 13:48:44 -0000	1.23
+++ multimedia/xmms/distinfo	31 Dec 2007 11:05:49 -0000
@@ -1,3 +1,6 @@
 MD5 (xmms-1.2.11.tar.bz2) = f3e6dbaf0b3f571a532ab575656be506
 SHA256 (xmms-1.2.11.tar.bz2) = 7ec15c56632b6c82e61ccddeaefd372359af2f005708a58cdf3951c574b20390
 SIZE (xmms-1.2.11.tar.bz2) = 2581032
+MD5 (RusXMMS2-csa41.tar.bz2) = 7d89f35c80849dae89b81cbb57026e57
+SHA256 (RusXMMS2-csa41.tar.bz2) = e64df1956502e48c09ca60262efb7f1953a76d82a70c801e4797ca81e130e8d0
+SIZE (RusXMMS2-csa41.tar.bz2) = 96642
Index: multimedia/xmms/files/patch-configure.in
===================================================================
RCS file: multimedia/xmms/files/patch-configure.in
diff -N multimedia/xmms/files/patch-configure.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/xmms/files/patch-configure.in	31 Dec 2007 11:05:49 -0000
@@ -0,0 +1,33 @@
+--- configure.in.orig	2007-11-16 22:52:30.000000000 +0100
++++ configure.in	2007-12-29 18:08:33.603961280 +0100
+@@ -115,7 +115,14 @@
+ dnl ***
+ dnl *** Check pthread linking
+ dnl ***
++AC_MSG_CHECKING([for PTHREAD_LIBS])
++if test "x$PTHREAD_LIBS" = "x"; then
+ PTHREAD_LIBS=error
++else
++AC_MSG_RESULT([$PTHREAD_LIBS])
++fi
++
++if test "x$PTHREAD_LIBS" = "xerror"; then
+ AC_MSG_CHECKING([for old style FreeBSD -pthread flag])
+ AC_EGREP_CPP([yes],
+ 	[#if (defined(__FreeBSD_cc_version) && __FreeBSD_cc_version <= 500001) || defined(__OpenBSD__)
+@@ -124,6 +131,7 @@
+ 	], AC_MSG_RESULT([yes])
+ 	CFLAGS="$CFLAGS -D_THREAD_SAFE" PTHREAD_LIBS="-pthread",
+ 	AC_MSG_RESULT([no]))
++fi
+ if test "x$PTHREAD_LIBS" = "xerror"; then
+ 	AC_CHECK_LIB([pthread], [pthread_attr_init],
+ 		PTHREAD_LIBS="-lpthread")
+@@ -423,7 +431,6 @@
+ LIBS_save=$LIBS
+ CFLAGS_save=$CFLAGS
+ LDFLAGS_save=$LDFLAGS
+-AM_PATH_ALSA([0.9.0], [have_alsa=yes], [have_alsa=no])
+ AM_CONDITIONAL([HAVE_ALSA], [test "x${have_alsa}" = "xyes"])
+ LIBS=$LIBS_save
+ CFLAGS=$CFLAGS_save
Index: multimedia/xmms/files/patch-po-Makefile.in.in
===================================================================
RCS file: multimedia/xmms/files/patch-po-Makefile.in.in
diff -N multimedia/xmms/files/patch-po-Makefile.in.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/xmms/files/patch-po-Makefile.in.in	31 Dec 2007 11:05:49 -0000
@@ -0,0 +1,10 @@
+--- po/Makefile.in.in.orig	2007-12-28 18:06:27.340155988 +0100
++++ po/Makefile.in.in	2007-12-28 18:06:52.250680503 +0100
+@@ -30,6 +30,7 @@
+ 
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
++install_sh = @install_sh@
+ mkinstalldirs = $(SHELL) @install_sh@ -d
+ mkdir_p = @mkdir_p@
+ 
Index: russian/xmms/Makefile
===================================================================
RCS file: /home/ncvs/ports/russian/xmms/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- russian/xmms/Makefile	3 Nov 2004 09:32:34 -0000	1.7
+++ russian/xmms/Makefile	31 Dec 2007 11:05:49 -0000
@@ -15,6 +15,6 @@ MASTERDIR=	${.CURDIR}/../../multimedia/x
 
 CONFLICTS=	xmms-[0-9]*
 
-WITH_ENCODING_PATCH=	yes
+WITH_RUSXMMS_PATCHES=	yes
 
 .include "${MASTERDIR}/Makefile"
--- xmms.patch ends here ---

--- librcc.shar begins here ---
# 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:
#
#	devel/librcc
#	devel/librcc/files
#	devel/librcc/files/patch-configure.in
#	devel/librcc/pkg-descr
#	devel/librcc/Makefile
#	devel/librcc/pkg-plist
#	devel/librcc/distinfo
#
echo c - devel/librcc
mkdir -p devel/librcc > /dev/null 2>&1
echo c - devel/librcc/files
mkdir -p devel/librcc/files > /dev/null 2>&1
echo x - devel/librcc/files/patch-configure.in
sed 's/^X//' >devel/librcc/files/patch-configure.in << 'END-of-devel/librcc/files/patch-configure.in'
X--- configure.in.orig	2007-06-26 21:50:57.000000000 +0200
X+++ configure.in	2007-12-30 13:45:21.995543476 +0100
X@@ -60,8 +60,8 @@
X 
X CFLAGS="$CFLAGS -Wall -Wpointer-arith"
X if test ! -f /usr/include/iconv.h  -a -f /usr/local/include/iconv.h ; then
X-    CFLAGS+=" -I/usr/local/include"
X-    LIBS+=" -L/usr/local/lib"
X+    CFLAGS="$CFLAGS -I/usr/local/include"
X+    LIBS="$LIBS -L/usr/local/lib"
X fi
X 
X dnl Checks for programs.
X@@ -103,7 +103,33 @@
X AC_SUBST(GTK1_LIBS)
X AC_SUBST(GTK1_INCLUDES)
X 
X-PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.0, HAVE_GTK2=yes, HAVE_GTK2=no)
X+dnl ***
X+dnl *** GLIB 2.0
X+dnl ***
X+AC_ARG_ENABLE(glib2,
X+	      [  --disable-glib2        disable glib2 [default=enabled]],,
X+	      enable_glib2="yes")
X+
X+if test "x$enable_glib2" = "xyes"; then
X+	PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.0.0, HAVE_GLIB2=yes, HAVE_GLIB2=no)
X+else
X+        HAVE_GLIB2=no
X+fi
X+AM_CONDITIONAL(HAVE_GLIB2, [ test $HAVE_GLIB2 = yes ])
X+
X+
X+dnl ***
X+dnl *** GTK 2.0
X+dnl ***
X+AC_ARG_ENABLE(gtk2,
X+	      [  --disable-gtk2        disable gtk2 [default=enabled]],,
X+	      enable_gtk2="yes")
X+
X+if test "x$enable_gtk2" = "xyes"; then
X+	PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.0, HAVE_GTK2=yes, HAVE_GTK2=no)
X+else
X+        HAVE_GTK2=no
X+fi
X AM_CONDITIONAL(HAVE_GTK2, [ test $HAVE_GTK2 = yes ])
X 
X AC_CHECK_HEADER(dlfcn.h, [AC_CHECK_LIB(dl, dlopen, [
X@@ -130,12 +156,12 @@
X if test "x$enable_force_system_iconv" != "xyes"; then
X AC_CHECK_LIB(iconv, iconv_open, [
X     EXTERNAL_ICONV=yes
X-    EXTRA_LIBS+=" -liconv"
X+    EXTRA_LIBS="$EXTRA_LIBS -liconv"
X ])
X AC_CHECK_HEADER(libcharset.h, [AC_CHECK_LIB(charset, locale_charset, [
X 	AC_DEFINE(HAVE_LIBCHARSET,1,[Defines if libRCD is available])
X 	HAVE_LIBCHARSET=yes
X-	EXTRA_LIBS+=" -lcharset"
X+	EXTRA_LIBS="$EXTRA_LIBS -lcharset"
X ])])
X fi
X AM_CONDITIONAL(HAVE_LIBCHARSET, [ test "x$HAVE_LIBCHARSET" = "xyes" ])
X@@ -210,23 +236,20 @@
X     BDB_INCLUDES=""
X     HAVE_BDB=no
X else
X-    AX_PATH_BDB([4],[
X-	BDB_LIBS="$BDB_LDFLAGS $BDB_LIBS"
X-	BDB_INCLUDES="$BDB_CPPFLAGS"
X-	HAVE_BDB=yes
X-    ],[
X-	BDB_LIBS=""
X-	BDB_INCLUDES=""
X-	HAVE_BDB=no
X-    ])
X+# Not working on FreeBSD either
X+#    AX_PATH_BDB([4],[
X+#	BDB_LIBS="$BDB_LDFLAGS $BDB_LIBS"
X+#	BDB_INCLUDES="$BDB_CPPFLAGS"
X+#	HAVE_BDB=yes
X+#    ],[
X+#	BDB_LIBS=""
X+#	BDB_INCLUDES=""
X+#	HAVE_BDB=no
X+#    ])
X fi
X AC_SUBST(BDB_LIBS)
X AC_SUBST(BDB_INCLUDES)
X 
X-PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.0.0, HAVE_GLIB2=yes, HAVE_GLIB2=no)
X-AM_CONDITIONAL(HAVE_GLIB2, [ test $HAVE_GLIB2 = yes ])
X-
X-
X if test "x$disable_libtranslate" != "xyes"; then
X     HAVE_LIBTRANSLATE=no
X     HAVE_LIBTRANSLATE_TIMED_TRANSLATE=no
X@@ -254,15 +277,25 @@
X fi
X fi
X 
X-AM_PATH_ASPELL([
X-    AC_DEFINE(HAVE_ASPELL,1,[Defines if aspell is available])
X-    HAVE_ASPELL=yes
X-],[
X+# Not available on FreeBSD? breaks autom4te run
X+#AM_PATH_ASPELL([
X+#    AC_DEFINE(HAVE_ASPELL,1,[Defines if aspell is available])
X+#    HAVE_ASPELL=yes
X+#],[
X     HAVE_ASPELL=no
X-])
X+    AC_SUBST(ASPELL_CFLAGS)
X+    AC_SUBST(ASPELL_LIBS)
X+#])
X 
X 
X-PTHREAD_LIBS=error
X+AC_MSG_CHECKING([for PTHREAD_LIBS])
X+if test "x$PTHREAD_LIBS" = "x"; then
X+  PTHREAD_LIBS=error
X+else
X+  AC_MSG_RESULT([$PTHREAD_LIBS])
X+fi
X+
X+if test "x$PTHREAD_LIBS" = "xerror"; then
X AC_EGREP_CPP(yes,[
X #if (defined(__FreeBSD_cc_version) && __FreeBSD_cc_version <= 500001) || defined(__OpenBSD__)
X 	  yes
X@@ -271,6 +304,7 @@
X 	PTHREAD_CFLAGS="-D_THREAD_SAFE" 
X 	PTHREAD_LIBS="-pthread"
X )
X+fi
X if test "x$PTHREAD_LIBS" = "xerror"; then
X 	AC_CHECK_LIB(pthread, pthread_mutex_lock, PTHREAD_LIBS="-lpthread")
X fi
X@@ -309,7 +343,7 @@
X AC_OUTPUT(src/Makefile engines/Makefile external/Makefile ui/Makefile examples/Makefile Makefile librcc.spec)
X 
X rccdir=${pkgdatadir}
X-while expr ${rccdir:0:1} == '$' &>/dev/null; do
X+while expr "${rccdir}" : "\\\$" >/dev/null; do
X     rccdir=`eval echo $rccdir`
X done
X 
END-of-devel/librcc/files/patch-configure.in
echo x - devel/librcc/pkg-descr
sed 's/^X//' >devel/librcc/pkg-descr << 'END-of-devel/librcc/pkg-descr'
XThe Abilities of LibRCC Library
X===============================
X
X    * Language Autodetection
X    * On the fly translation between languages, using online-services!
X    * Encoding Autodetection for most of European Languages1
X    * Support for encoding detection plugins (besides Enca and LibRCD)
X    * Recoding/translation of multi-language playlists!
X    * Cache to speed-up re-recoding.
X    * Possibility to configure new languages and encodings.
X    * Shared configuration file. For example mentioned TagLib and LibID3 patches
X    do not have their own user interface, but will utilize the same recoding
X    configuration as XMMS.
X    * As well the separate program for configuration adjustment is available.
X    * GTK/GTK2 UI Library: you can add properties page to your GTK application
X    with 3 lines of code.
X    * Menu localization opportunity
X
XWWW: http://rusxmms.sourceforge.net
END-of-devel/librcc/pkg-descr
echo x - devel/librcc/Makefile
sed 's/^X//' >devel/librcc/Makefile << 'END-of-devel/librcc/Makefile'
X# New ports collection makefile for:	librcc
X# Date created:			30-12-2007
X# Whom:				Ulrich Spoerlein <uspoerlein at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	librcc
XPORTVERSION=	0.2.5
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= rusxmms
X
XMAINTAINER=	uspoerlein at gmail.com
XCOMMENT=	Library used by rusxmms for language autodetection
X
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_GNOME=	gtk12 libxml
XUSE_GMAKE=	yes
XUSE_ICONV=	yes
X
XUSE_AUTOTOOLS=  aclocal:19 automake:19 autoheader:261 autoconf:261
XACLOCAL_ARGS=	--force
XAUTOMAKE_ARGS=	-a
X
XLIB_DEPENDS=	rcd.1:${PORTSDIR}/devel/librcd
X
XCONFIGURE_ARGS=--disable-bdb --disable-gtk2 --disable-glib2
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib" \
X		PTHREAD_LIBS="${PTHREAD_LIBS}"
X
X.include <bsd.port.mk>
END-of-devel/librcc/Makefile
echo x - devel/librcc/pkg-plist
sed 's/^X//' >devel/librcc/pkg-plist << 'END-of-devel/librcc/pkg-plist'
Xinclude/librcc.h
Xinclude/librccui.h
Xlib/librcc.a
Xlib/librcc.la
Xlib/librcc.so.2
Xlib/librccgtk.a
Xlib/librccgtk.la
Xlib/librccgtk.so.2
Xlib/librccui.a
Xlib/librccui.la
Xlib/librccui.so.2
Xlib/rcc/engines/librcd_engine.a
Xlib/rcc/engines/librcd_engine.la
Xlib/rcc/engines/librcd_engine.so
Xlib/rcc/engines/western_engine.a
Xlib/rcc/engines/western_engine.la
Xlib/rcc/engines/western_engine.so
X at dirrm lib/rcc/engines
X at dirrm lib/rcc
END-of-devel/librcc/pkg-plist
echo x - devel/librcc/distinfo
sed 's/^X//' >devel/librcc/distinfo << 'END-of-devel/librcc/distinfo'
XMD5 (librcc-0.2.5.tar.bz2) = 8dc5e08bf5ae1e029dc464cd74c17f3f
XSHA256 (librcc-0.2.5.tar.bz2) = d46b1bfc8b95ea73b12d9230f4103d18a6c3e2560f5c1d80073f62308b70307e
XSIZE (librcc-0.2.5.tar.bz2) = 494855
END-of-devel/librcc/distinfo
exit
--- librcc.shar ends here ---

--- librcd.shar begins here ---
# 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:
#
#	devel/librcd
#	devel/librcd/pkg-plist
#	devel/librcd/distinfo
#	devel/librcd/pkg-descr
#	devel/librcd/Makefile
#
echo c - devel/librcd
mkdir -p devel/librcd > /dev/null 2>&1
echo x - devel/librcd/pkg-plist
sed 's/^X//' >devel/librcd/pkg-plist << 'END-of-devel/librcd/pkg-plist'
Xinclude/librcd.h
Xlib/librcd.a
Xlib/librcd.la
Xlib/librcd.so.1
END-of-devel/librcd/pkg-plist
echo x - devel/librcd/distinfo
sed 's/^X//' >devel/librcd/distinfo << 'END-of-devel/librcd/distinfo'
XMD5 (librcd-0.1.10.tar.bz2) = b496fe64a9ea0fe9ee9d0a842663c7c0
XSHA256 (librcd-0.1.10.tar.bz2) = 9a8ff492d12851698063ecdb7755279cb565068a384977842196ad80c26c9522
XSIZE (librcd-0.1.10.tar.bz2) = 304361
END-of-devel/librcd/distinfo
echo x - devel/librcd/pkg-descr
sed 's/^X//' >devel/librcd/pkg-descr << 'END-of-devel/librcd/pkg-descr'
XLibrary used by ruxmms for autodetection of russian charset
X
XWWW: http://rusxmms.sourceforge.net/
END-of-devel/librcd/pkg-descr
echo x - devel/librcd/Makefile
sed 's/^X//' >devel/librcd/Makefile << 'END-of-devel/librcd/Makefile'
X# New ports collection makefile for:	librcd
X# Date created:			30-12-2007
X# Whom:				Ulrich Spoerlein <uspoerlein at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	librcd
XPORTVERSION=	0.1.10
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= rusxmms
X
XMAINTAINER=	uspoerlein at gmail.com
XCOMMENT=	Library used by rusxmms for autodetection of russian charset
X
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
END-of-devel/librcd/Makefile
exit
--- librcd.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list