ports/123825: New port: multimedia/sublib subtitle handling library for Mono used by gnome-subtitles
Marcin Simonides
marcin at studio4plus.com
Mon May 19 21:40:01 UTC 2008
>Number: 123825
>Category: ports
>Synopsis: New port: multimedia/sublib subtitle handling library for Mono used by gnome-subtitles
>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 May 19 21:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Marcin Simonides
>Release: 7-STABLE
>Organization:
>Environment:
>Description:
SubLib is a library for handling various movie subtitle formats for the Mono/.Net environment. It used to be bundled with Gnome-Subtitles (multimedia/gnome-subtitles) but is not anymore, so I made a separate port.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# sublib
# sublib/pkg-plist
# sublib/distinfo
# sublib/pkg-descr
# sublib/Makefile
#
echo c - sublib
mkdir -p sublib > /dev/null 2>&1
echo x - sublib/pkg-plist
sed 's/^X//' >sublib/pkg-plist << 'END-of-sublib/pkg-plist'
Xlib/sublib/sublib.dll
Xlib/pkgconfig/sublib.pc
X at dirrmtry lib/sublib
X at dirrmtry lib/pkgconfig
END-of-sublib/pkg-plist
echo x - sublib/distinfo
sed 's/^X//' >sublib/distinfo << 'END-of-sublib/distinfo'
XMD5 (sublib-0.9.zip) = 8d09e2785b4a6fa62fba71e4169a51fe
XSHA256 (sublib-0.9.zip) = e3534d88ff347c876ce710e31793d637a0831466fba235179cefaaf1855be62a
XSIZE (sublib-0.9.zip) = 255003
END-of-sublib/distinfo
echo x - sublib/pkg-descr
sed 's/^X//' >sublib/pkg-descr << 'END-of-sublib/pkg-descr'
XSubLib is a library that eases the development of subtitling applications. It
Xsupports the most common text-based subtitle formats and allows for subtitle
Xediting, conversion and synchronization.
X
XSubLib is written in C# and can be used in platforms like Mono or .NET
XFramework.
X
XWWW: http://sublib.sourceforge.net/
END-of-sublib/pkg-descr
echo x - sublib/Makefile
sed 's/^X//' >sublib/Makefile << 'END-of-sublib/Makefile'
X# New ports collection makefile for: sublib
X# Date created: 12 May 2008
X# Whom: Marcin Simonides <marcin at studio4plus.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= sublib
XPORTVERSION= 0.9
XCATEGORIES= multimedia textproc
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= marcin at studio4plus.com
XCOMMENT= Subtitle handling library for .NET/Mono
X
XBUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
XRUN_DEPENDS= mono:${PORTSDIR}/lang/mono
X
XUSE_ZIP= yes
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XUSE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
X
X.include <bsd.port.pre.mk>
X.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
X.include <bsd.port.post.mk>
END-of-sublib/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list