aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/Makefile1
-rw-r--r--converters/gbsdconv/Makefile40
-rw-r--r--converters/gbsdconv/distinfo2
-rw-r--r--converters/gbsdconv/pkg-descr10
-rw-r--r--converters/gbsdconv/pkg-plist4
5 files changed, 57 insertions, 0 deletions
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 <bsd.port.mk>
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%%