mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Update to version 1.1.
PR: ports/79466 Submitted by: Ports Fury
This commit is contained in:
parent
4910d37025
commit
8e94adc0e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132524
@ -7,8 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= blogtk
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= deskutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -17,31 +16,27 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A client for Blogger, Movable Type, and other blogging systems
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_PYTHON= 2.3+
|
||||
USE_GNOME= pygtk2 pygnome2
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/BloGTK-${PORTVERSION}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/shar,${PREFIX}/shar,' ${WRKSRC}/src/BloGTK.py
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= pygnomeextras
|
||||
USE_PYTHON= 2.3+
|
||||
USE_REINPLACE= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC}/src -name "*.py" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|/usr/share|${PREFIX}/share|g ; \
|
||||
s|gtk\.FALSE|False|g ; \
|
||||
s|gtk\.TRUE|True|g'
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}/blogtk
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/src/* ${PYTHON_SITELIBDIR}/blogtk
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/blogtk
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/src/*.py ${PYTHONPREFIX_SITELIBDIR}/blogtk
|
||||
@${LN} -fs ${PYTHONPREFIX_SITELIBDIR}/blogtk/BloGTK.py ${PREFIX}/bin/blogtk
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${DATADIR}
|
||||
@${LN} -fs ${PYTHON_SITELIBDIR}/blogtk/BloGTK.py ${PREFIX}/bin/blogtk
|
||||
.for dir in ${PYTHON_SITELIBDIR}/blogtk ${PREFIX}/share/${PORTNAME}
|
||||
@${FIND} ${dir} ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${dir} -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
.endfor
|
||||
@${ECHO_CMD} "@exec ln -fs %D/${PYTHON_SITELIBDIR:S,^${PREFIX}/,,}/blogtk/BloGTK.py %D/bin/blogtk" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec rm -f %D/bin/blogtk 2>/dev/null || true" >> ${TMPPLIST}
|
||||
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.glade ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.gladep ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (blogtk_1.0.tar.bz2) = 90d40f7fb7df5636396caedaf34b73da
|
||||
SIZE (blogtk_1.0.tar.bz2) = 52265
|
||||
MD5 (blogtk_1.1.tar.bz2) = cd2d2521a261867cd9c830a81d3d4408
|
||||
SIZE (blogtk_1.1.tar.bz2) = 64325
|
||||
|
20
deskutils/blogtk/pkg-plist
Normal file
20
deskutils/blogtk/pkg-plist
Normal file
@ -0,0 +1,20 @@
|
||||
bin/blogtk
|
||||
%%PYTHON_SITELIBDIR%%/blogtk/BloGTK.py
|
||||
%%PYTHON_SITELIBDIR%%/blogtk/config.py
|
||||
%%PYTHON_SITELIBDIR%%/blogtk/customtags.py
|
||||
%%PYTHON_SITELIBDIR%%/blogtk/post.py
|
||||
%%PYTHON_SITELIBDIR%%/blogtk/preview.py
|
||||
%%PYTHON_SITELIBDIR%%/blogtk/proxy.py
|
||||
%%PYTHON_SITELIBDIR%%/blogtk/spellcheck.py
|
||||
%%DATADIR%%/b-32.png
|
||||
%%DATADIR%%/blogtk-icon.png
|
||||
%%DATADIR%%/blogtk-logo.png
|
||||
%%DATADIR%%/blogtk.glade
|
||||
%%DATADIR%%/blogtk.gladep
|
||||
%%DATADIR%%/stock_insert-image.png
|
||||
%%DATADIR%%/stock_insert-table.png
|
||||
%%DATADIR%%/stock_link.png
|
||||
%%DATADIR%%/stock_para.png
|
||||
%%DATADIR%%/stock_text_indent.png
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/blogtk
|
Loading…
Reference in New Issue
Block a user