aboutsummaryrefslogtreecommitdiff
path: root/converters/gbsdconv
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2011-12-27 17:28:24 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2011-12-27 17:28:24 +0000
commit3f0d9591ef0bd6c6c1e80ea951af748ef73a66e8 (patch)
tree2052721d24ce81a49553fec9e40f01040afefc37 /converters/gbsdconv
parent12b5ff595b25ce7952c176b99cf88e7f69013e83 (diff)
downloadports-3f0d9591ef0bd6c6c1e80ea951af748ef73a66e8.tar.gz
ports-3f0d9591ef0bd6c6c1e80ea951af748ef73a66e8.zip
Notes
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%%