summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-07-30 09:06:16 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-07-30 09:06:16 +0000
commit446e21606e138d8d9b25722d4492ef193a53b8d8 (patch)
tree0af2ce7556c956139d64a4620475da21849f5057 /deskutils
parent- Update WWW (diff)
add blogtk 1.0
A client for Blogger, Movable Type, and other blogging systems
Notes
Notes: svn path=/head/; revision=115063
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/blogtk/Makefile46
-rw-r--r--deskutils/blogtk/distinfo2
-rw-r--r--deskutils/blogtk/pkg-descr5
4 files changed, 54 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index fb4f489b9f4b..b47229015128 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -9,6 +9,7 @@
SUBDIR += babytrans
SUBDIR += basket
SUBDIR += bigyear
+ SUBDIR += blogtk
SUBDIR += cal
SUBDIR += checkrdf
SUBDIR += dailystrips
diff --git a/deskutils/blogtk/Makefile b/deskutils/blogtk/Makefile
new file mode 100644
index 000000000000..9cfbf20d68d3
--- /dev/null
+++ b/deskutils/blogtk/Makefile
@@ -0,0 +1,46 @@
+# ex:ts=8
+# Ports collection makefile for: blogtk
+# Date created: Jul 30, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= blogtk
+PORTVERSION= 1.0
+CATEGORIES= deskutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+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
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ @${MKDIR} ${PYTHON_SITELIBDIR}/blogtk
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/* ${PYTHON_SITELIBDIR}/blogtk
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${DATADIR}
+ @${LN} -fs ${PYTHON_SITELIBDIR}/blogtk/BloGTK.py ${PREFIX}/bin/blogtk
+.for dir in ${PYTHON_SITELIBDIR}/blogtk ${DATADIR}
+ @${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}
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/blogtk/distinfo b/deskutils/blogtk/distinfo
new file mode 100644
index 000000000000..e19190a4c2b2
--- /dev/null
+++ b/deskutils/blogtk/distinfo
@@ -0,0 +1,2 @@
+MD5 (blogtk_1.0.tar.bz2) = 90d40f7fb7df5636396caedaf34b73da
+SIZE (blogtk_1.0.tar.bz2) = 52265
diff --git a/deskutils/blogtk/pkg-descr b/deskutils/blogtk/pkg-descr
new file mode 100644
index 000000000000..29eb1d2ead4e
--- /dev/null
+++ b/deskutils/blogtk/pkg-descr
@@ -0,0 +1,5 @@
+BloGTK is a weblog client that allows you to post to your weblog without the
+need for a separate browser window. BloGTK allows you to connect with many
+weblog systems such as Blogger, Movable Type, pMachine, and more.
+
+WWW: http://blogtk.sourceforge.net/