diff options
author | kefren <kefren@pkgsrc.org> | 2009-01-06 08:54:21 +0000 |
---|---|---|
committer | kefren <kefren@pkgsrc.org> | 2009-01-06 08:54:21 +0000 |
commit | 34557a78434daa3cbcdfae39f35a1b5dd25065c4 (patch) | |
tree | e80609aa1ec8c225d6bbed7482f0011b1515e002 /textproc | |
parent | 15dc7c633bf394888ab03fb269be4cf5068ef007 (diff) | |
download | pkgsrc-34557a78434daa3cbcdfae39f35a1b5dd25065c4.tar.gz |
Initial import of sublib 0.9, a C# library for subtitles editing and
conversion
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/sublib/DESCR | 8 | ||||
-rw-r--r-- | textproc/sublib/Makefile | 25 | ||||
-rw-r--r-- | textproc/sublib/PLIST | 4 | ||||
-rw-r--r-- | textproc/sublib/buildlink3.mk | 21 | ||||
-rw-r--r-- | textproc/sublib/distinfo | 6 | ||||
-rw-r--r-- | textproc/sublib/patches/patch-aa | 12 |
6 files changed, 76 insertions, 0 deletions
diff --git a/textproc/sublib/DESCR b/textproc/sublib/DESCR new file mode 100644 index 00000000000..2fa83a0c643 --- /dev/null +++ b/textproc/sublib/DESCR @@ -0,0 +1,8 @@ +SubLib is a library that eases the development of subtitling applications. It +supports the most common text-based subtitle formats and allows for subtitle +editing, conversion and synchronization. + +SubLib is written in C# and can be used in platforms like Mono or .NET +Framework. + +The library is currently used by the Gnome Subtitles project. diff --git a/textproc/sublib/Makefile b/textproc/sublib/Makefile new file mode 100644 index 00000000000..4cbcb78cb5f --- /dev/null +++ b/textproc/sublib/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/01/06 08:54:21 kefren Exp $ + +DISTNAME= sublib-0.9 +CATEGORIES= multimedia textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sublib/} +EXTRACT_SUFX= .zip + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://sublib.sourceforge.net/ +COMMENT= Library that eases the development of subtitling applications + +GNU_CONFIGURE= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= # empty + +PKG_DESTDIR_SUPPORT= user-destdir + +SUBST_CLASSES+= fix-prefix +SUBST_STAGE.fix-prefix= pre-configure +SUBST_MESSAGE.fix-prefix= Fixing library installation directory +SUBST_FILES.fix-prefix= data/sublib.pc.in +SUBST_SED.fix-prefix= -e 's,@libdir@,@libdir@/mono,' + +.include "../../lang/mono/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/sublib/PLIST b/textproc/sublib/PLIST new file mode 100644 index 00000000000..c1f471c6615 --- /dev/null +++ b/textproc/sublib/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/06 08:54:21 kefren Exp $ +lib/mono/sublib/sublib.dll +lib/pkgconfig/sublib.pc +@dirrm lib/mono/sublib diff --git a/textproc/sublib/buildlink3.mk b/textproc/sublib/buildlink3.mk new file mode 100644 index 00000000000..49e892983ef --- /dev/null +++ b/textproc/sublib/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/06 08:54:21 kefren Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SUBLIB_BUILDLINK3_MK:= ${SUBLIB_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= sublib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsublib} +BUILDLINK_PACKAGES+= sublib +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sublib + +.if ${SUBLIB_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.sublib+= sublib>=0.9 +BUILDLINK_PKGSRCDIR.sublib?= ../../textproc/sublib +.endif # SUBLIB_BUILDLINK3_MK + +.include "../../lang/mono/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/textproc/sublib/distinfo b/textproc/sublib/distinfo new file mode 100644 index 00000000000..60033b1224d --- /dev/null +++ b/textproc/sublib/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/01/06 08:54:21 kefren Exp $ + +SHA1 (sublib-0.9.zip) = 4c7194666e9991efc7793ab300f60f95c7b56d85 +RMD160 (sublib-0.9.zip) = 7b4c310ddc57c2ab02fdbd233cadf8c1873d5c15 +Size (sublib-0.9.zip) = 255003 bytes +SHA1 (patch-aa) = 3da70469b7bd6e93a25ca7eba2291e6c43238e0b diff --git a/textproc/sublib/patches/patch-aa b/textproc/sublib/patches/patch-aa new file mode 100644 index 00000000000..adfb2b2417d --- /dev/null +++ b/textproc/sublib/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/01/06 08:54:21 kefren Exp $ +--- src/Makefile.in.orig 2008-12-08 22:06:21.000000000 +0200 ++++ src/Makefile.in 2008-12-08 22:10:03.000000000 +0200 +@@ -18,7 +18,7 @@ + top_srcdir = @top_srcdir@ + VPATH = @srcdir@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkglibdir = $(libdir)/@PACKAGE@ ++pkglibdir = $(libdir)/mono/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + top_builddir = .. + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |