aboutsummaryrefslogtreecommitdiffstats
path: root/converters/gbsdconv
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-01-02 10:03:03 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-01-02 10:03:03 +0800
commitc50eca99149f85bbd82cce2c1719a75081dedf5c (patch)
tree5729f3e67dfc1a5af834d81f8e4a36d4c347a06e /converters/gbsdconv
parent7b7d2fc5c34fdd5350125677043e624a73eb8d47 (diff)
downloadfreebsd-ports-gnome-c50eca99149f85bbd82cce2c1719a75081dedf5c.tar.gz
freebsd-ports-gnome-c50eca99149f85bbd82cce2c1719a75081dedf5c.tar.zst
freebsd-ports-gnome-c50eca99149f85bbd82cce2c1719a75081dedf5c.zip
- Update to 0.3
- Use PLIST_FILES/PLIST_DIRS Changes: https://github.com/buganini/gbsdconv/commits/master PR: ports/163696 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
Diffstat (limited to 'converters/gbsdconv')
-rw-r--r--converters/gbsdconv/Makefile26
-rw-r--r--converters/gbsdconv/distinfo4
-rw-r--r--converters/gbsdconv/pkg-plist4
3 files changed, 18 insertions, 16 deletions
diff --git a/converters/gbsdconv/Makefile b/converters/gbsdconv/Makefile
index 41e530ade06c..44ee5dd243fd 100644
--- a/converters/gbsdconv/Makefile
+++ b/converters/gbsdconv/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gbsdconv
-PORTVERSION= 0.2
+PORTVERSION= 0.3
CATEGORIES= converters python
MASTER_SITES= https://github.com/buganini/${PORTNAME}/tarball/${PORTVERSION}/
DISTNAME= buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}
@@ -17,24 +17,30 @@ 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
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsdconv>=7.2:${PORTSDIR}/converters/py-bsdconv \
+ ${LOCALBASE}/bin/g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-GITVERSION= 6de84a5
+GITVERSION= eab9940
FETCH_ARGS= -pRr
WRKSRC= ${WRKDIR}/buganini-${PORTNAME}-${GITVERSION}
-NO_BUILD= yes
-USE_GNOME+= gtk30
+NO_BUILD= yes
+USE_GNOME= gtk30
USE_PYTHON= yes
+PLIST_FILES= bin/gbsdconv \
+ %%DATADIR%%/gbsdconv.png \
+ %%DATADIR%%/gbsdconv.xml \
+ %%DATADIR%%/gbsdconv2.png
+PLIST_DIRS= %%DATADIR%%
+
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
+ ${MKDIR} ${DATADIR}/
+ cd ${WRKSRC}/ && \
+ ${INSTALL_SCRIPT} gbsdconv ${PREFIX}/bin/ && \
+ ${INSTALL_DATA} gbsdconv.png gbsdconv.xml gbsdconv2.png ${DATADIR}/
.include <bsd.port.mk>
diff --git a/converters/gbsdconv/distinfo b/converters/gbsdconv/distinfo
index 9eb79fc072c9..ea27f92a7d00 100644
--- a/converters/gbsdconv/distinfo
+++ b/converters/gbsdconv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (buganini-gbsdconv-0.2-0-g6de84a5.tar.gz) = 55c7e0c66382f4a8719167eaa207be5c1a618dfb3445ef3b26815710c7b3d37b
-SIZE (buganini-gbsdconv-0.2-0-g6de84a5.tar.gz) = 13076
+SHA256 (buganini-gbsdconv-0.3-0-geab9940.tar.gz) = 7408fd066340eecd43762516fb40b39a4239052968c8e151acaa73c237b59dd0
+SIZE (buganini-gbsdconv-0.3-0-geab9940.tar.gz) = 14978
diff --git a/converters/gbsdconv/pkg-plist b/converters/gbsdconv/pkg-plist
deleted file mode 100644
index f602a4f97d3b..000000000000
--- a/converters/gbsdconv/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/gbsdconv
-%%DATADIR%%/gbsdconv.png
-%%DATADIR%%/gbsdconv.xml
-@dirrm %%DATADIR%%