diff options
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/blogtk/Makefile | 46 | ||||
-rw-r--r-- | deskutils/blogtk/distinfo | 2 | ||||
-rw-r--r-- | deskutils/blogtk/pkg-descr | 5 |
4 files changed, 54 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index fb4f489b9f4..b4722901512 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 00000000000..9cfbf20d68d --- /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 00000000000..e19190a4c2b --- /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 00000000000..29eb1d2ead4 --- /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/ |