aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-04-05 15:25:14 +0800
committerflz <flz@FreeBSD.org>2005-04-05 15:25:14 +0800
commit7017568dc7379a982bb94fd156c9405b20520a1b (patch)
treee16c8f437331fb6b3af6a53479f20b6ac4bd3802 /deskutils
parent830f060c4c60e0a240a29d9ddcb9dc0aa9be9ca3 (diff)
downloadfreebsd-ports-gnome-7017568dc7379a982bb94fd156c9405b20520a1b.tar.gz
freebsd-ports-gnome-7017568dc7379a982bb94fd156c9405b20520a1b.tar.zst
freebsd-ports-gnome-7017568dc7379a982bb94fd156c9405b20520a1b.zip
- Update to version 1.1.
PR: ports/79466 Submitted by: Ports Fury
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/blogtk/Makefile37
-rw-r--r--deskutils/blogtk/distinfo4
-rw-r--r--deskutils/blogtk/pkg-plist20
3 files changed, 38 insertions, 23 deletions
diff --git a/deskutils/blogtk/Makefile b/deskutils/blogtk/Makefile
index 23f8c1610511..439959f6ea09 100644
--- a/deskutils/blogtk/Makefile
+++ b/deskutils/blogtk/Makefile
@@ -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
+WRKSRC= ${WRKDIR}/BloGTK-${PORTVERSION}
+
USE_BZIP2= yes
-USE_REINPLACE= yes
+USE_GNOME= pygnomeextras
USE_PYTHON= 2.3+
-USE_GNOME= pygtk2 pygnome2
+USE_REINPLACE= yes
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/BloGTK-${PORTVERSION}
post-patch:
- @${REINPLACE_CMD} -e 's,/usr/shar,${PREFIX}/shar,' ${WRKSRC}/src/BloGTK.py
-
-.include <bsd.port.pre.mk>
+ @${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>
diff --git a/deskutils/blogtk/distinfo b/deskutils/blogtk/distinfo
index e19190a4c2b2..21e2c2e9562d 100644
--- a/deskutils/blogtk/distinfo
+++ b/deskutils/blogtk/distinfo
@@ -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
diff --git a/deskutils/blogtk/pkg-plist b/deskutils/blogtk/pkg-plist
new file mode 100644
index 000000000000..9e04e624b649
--- /dev/null
+++ b/deskutils/blogtk/pkg-plist
@@ -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