From 3f0d9591ef0bd6c6c1e80ea951af748ef73a66e8 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Tue, 27 Dec 2011 17:28:24 +0000 Subject: [PATCH] Add gbsdconv 0.2, GUI for bsdconv. PR: ports/163642 Submitted by: buganini@gmail.com --- converters/Makefile | 1 + converters/gbsdconv/Makefile | 40 +++++++++++++++++++++++++++++++++++ converters/gbsdconv/distinfo | 2 ++ converters/gbsdconv/pkg-descr | 10 +++++++++ converters/gbsdconv/pkg-plist | 4 ++++ 5 files changed, 57 insertions(+) create mode 100644 converters/gbsdconv/Makefile create mode 100644 converters/gbsdconv/distinfo create mode 100644 converters/gbsdconv/pkg-descr create mode 100644 converters/gbsdconv/pkg-plist diff --git a/converters/Makefile b/converters/Makefile index 62cf30f5edc1..034c349b59c0 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -27,6 +27,7 @@ SUBDIR += fpc-iconvenc SUBDIR += fribidi SUBDIR += gbase + SUBDIR += gbsdconv SUBDIR += hs-aeson SUBDIR += hs-dataenc SUBDIR += hs-json diff --git a/converters/gbsdconv/Makefile b/converters/gbsdconv/Makefile new file mode 100644 index 000000000000..41e530ade06c --- /dev/null +++ b/converters/gbsdconv/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: gbsdconv +# Date created: 22 Dec, 2011 +# Whom: buganini@gmail.com +# +# $FreeBSD$ +# + +PORTNAME= gbsdconv +PORTVERSION= 0.2 +CATEGORIES= converters python +MASTER_SITES= https://github.com/buganini/${PORTNAME}/tarball/${PORTVERSION}/ +DISTNAME= buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION} + +MAINTAINER= buganini@gmail.com +COMMENT= GUI for bsdconv + +LICENSE= BSD + +LIB_DEPENDS= tag_c.0:${PORTSDIR}/audio/taglib +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsdconv>=7.1:${PORTSDIR}/converters/py-bsdconv \ + g-ir-scanner:${PORTSDIR}/devel/gobject-introspection + +GITVERSION= 6de84a5 +FETCH_ARGS= -pRr +WRKSRC= ${WRKDIR}/buganini-${PORTNAME}-${GITVERSION} +NO_BUILD= yes + +USE_GNOME+= gtk30 +USE_PYTHON= yes + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/gbsdconv + +do-install: + ${MKDIR} ${PREFIX}/share/gbsdconv + ${INSTALL_DATA} ${WRKSRC}/gbsdconv.xml ${PREFIX}/share/gbsdconv/ + ${INSTALL_DATA} ${WRKSRC}/gbsdconv.png ${PREFIX}/share/gbsdconv/ + ${INSTALL_SCRIPT} ${WRKSRC}/gbsdconv ${PREFIX}/bin + +.include diff --git a/converters/gbsdconv/distinfo b/converters/gbsdconv/distinfo new file mode 100644 index 000000000000..9eb79fc072c9 --- /dev/null +++ b/converters/gbsdconv/distinfo @@ -0,0 +1,2 @@ +SHA256 (buganini-gbsdconv-0.2-0-g6de84a5.tar.gz) = 55c7e0c66382f4a8719167eaa207be5c1a618dfb3445ef3b26815710c7b3d37b +SIZE (buganini-gbsdconv-0.2-0-g6de84a5.tar.gz) = 13076 diff --git a/converters/gbsdconv/pkg-descr b/converters/gbsdconv/pkg-descr new file mode 100644 index 000000000000..e499376c4435 --- /dev/null +++ b/converters/gbsdconv/pkg-descr @@ -0,0 +1,10 @@ +GUI for bsdconv. + +Features: + Auto choose the best from mutiple conversion + Text conversion + File name conversion + File content conversion + Meta tag conversion + +WWW: https://github.com/buganini/gbsdconv diff --git a/converters/gbsdconv/pkg-plist b/converters/gbsdconv/pkg-plist new file mode 100644 index 000000000000..f602a4f97d3b --- /dev/null +++ b/converters/gbsdconv/pkg-plist @@ -0,0 +1,4 @@ +bin/gbsdconv +%%DATADIR%%/gbsdconv.png +%%DATADIR%%/gbsdconv.xml +@dirrm %%DATADIR%%