- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-01-02 02:03:03 +00:00
parent cd0d8368a6
commit 17104f47ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288391
3 changed files with 18 additions and 16 deletions

View File

@ -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>

View File

@ -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

View File

@ -1,4 +0,0 @@
bin/gbsdconv
%%DATADIR%%/gbsdconv.png
%%DATADIR%%/gbsdconv.xml
@dirrm %%DATADIR%%