aboutsummaryrefslogtreecommitdiffstats
path: root/converters/gbsdconv
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2011-12-28 01:28:24 +0800
committerlwhsu <lwhsu@FreeBSD.org>2011-12-28 01:28:24 +0800
commit01a954216d905821865fbb56b9112f471827d86b (patch)
tree10a149516604808915a0a71287b62664d62b51a9 /converters/gbsdconv
parent047124b26a3858d4c090a7ebc9af9704d80e6b3c (diff)
downloadfreebsd-ports-gnome-01a954216d905821865fbb56b9112f471827d86b.tar.gz
freebsd-ports-gnome-01a954216d905821865fbb56b9112f471827d86b.tar.zst
freebsd-ports-gnome-01a954216d905821865fbb56b9112f471827d86b.zip
Add gbsdconv 0.2, GUI for bsdconv.
PR: ports/163642 Submitted by: buganini@gmail.com
Diffstat (limited to 'converters/gbsdconv')
-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
4 files changed, 56 insertions, 0 deletions
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%%