diff options
-rw-r--r-- | deskutils/buoh/Makefile | 62 | ||||
-rw-r--r-- | deskutils/buoh/distinfo | 3 | ||||
-rw-r--r-- | deskutils/buoh/files/patch-src_buoh-comic-loader.c | 10 | ||||
-rw-r--r-- | deskutils/buoh/pkg-descr | 12 | ||||
-rw-r--r-- | deskutils/buoh/pkg-plist | 19 |
5 files changed, 106 insertions, 0 deletions
diff --git a/deskutils/buoh/Makefile b/deskutils/buoh/Makefile new file mode 100644 index 000000000..1532af476 --- /dev/null +++ b/deskutils/buoh/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: buoh +# Date created: 10 November 2005 +# Whom: Mezz <mezz@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= buoh +PORTVERSION= 0.8.1 +PORTREVISION= 4 +CATEGORIES= deskutils www gnome +MASTER_SITES= http://buoh.steve-o.org/downloads/ + +MAINTAINER= mezz@FreeBSD.org +COMMENT= A reader for online strips comics + +LIB_DEPENDS= soup-2.2.8:${PORTSDIR}/devel/libsoup + +USE_GMAKE= yes +USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui +USE_XLIB= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +DOCS= AUTHORS COPYING ChangeLog NEWS README TODO +GCONF_SCHEMAS= buoh.schemas + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debug +CFLAGS+= -g +STRIP= +.endif + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= Does not build on 4.X +.endif + +pre-everything:: +.if !defined(WITH_DEBUG) + @${ECHO_MSG} "You may specify the following on the command line:" + @${ECHO_MSG} " " + @${ECHO_MSG} "WITH_DEBUG=yes to enable debugging in Buoh." +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${LOCALBASE}/share/applications|g' \ + ${WRKSRC}/data/Makefile.in + +post-install: +.ifndef (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + @${LN} -sf ${DATADIR}/pixmaps/buoh64x64.png \ + ${LOCALBASE}/share/pixmaps/buoh64x64.png + +.include <bsd.port.post.mk> diff --git a/deskutils/buoh/distinfo b/deskutils/buoh/distinfo new file mode 100644 index 000000000..92de48946 --- /dev/null +++ b/deskutils/buoh/distinfo @@ -0,0 +1,3 @@ +MD5 (buoh-0.8.1.tar.gz) = 5d05a51d7c6616d93e93df3465b49fe7 +SHA256 (buoh-0.8.1.tar.gz) = 5284ac85b53d65f6653bbf6bb50f15628618595244247cafbf426a5f6761e4c9 +SIZE (buoh-0.8.1.tar.gz) = 411656 diff --git a/deskutils/buoh/files/patch-src_buoh-comic-loader.c b/deskutils/buoh/files/patch-src_buoh-comic-loader.c new file mode 100644 index 000000000..6133d783e --- /dev/null +++ b/deskutils/buoh/files/patch-src_buoh-comic-loader.c @@ -0,0 +1,10 @@ +--- src/buoh-comic-loader.c.orig Sun Dec 11 00:25:18 2005 ++++ src/buoh-comic-loader.c Sun Dec 11 00:25:39 2005 +@@ -184,6 +184,7 @@ + } + + if (loader->thread_mutex) { ++ g_mutex_unlock (loader->thread_mutex); + g_mutex_free (loader->thread_mutex); + loader->thread_mutex = NULL; + } diff --git a/deskutils/buoh/pkg-descr b/deskutils/buoh/pkg-descr new file mode 100644 index 000000000..66728719c --- /dev/null +++ b/deskutils/buoh/pkg-descr @@ -0,0 +1,12 @@ +Buoh is a reader for online strips comics. It is free software, designed to +work well under the GNOME Desktop. + +Buoh has a number of features, including: + + - Select your favorites comic through a list of more than 130 comics + - Easy, simple an eye-candy view of an online comic + - Browsing over the comic strip archives + - Saving a comic to disk + - Integration with GNOME (respecting the lockdowns and HIG compliance) + +WWW: http://buoh.steve-o.org/ diff --git a/deskutils/buoh/pkg-plist b/deskutils/buoh/pkg-plist new file mode 100644 index 000000000..9ab5c4178 --- /dev/null +++ b/deskutils/buoh/pkg-plist @@ -0,0 +1,19 @@ +bin/buoh +share/applications/buoh.desktop +%%DATADIR%%/comics/comics.xml +%%DATADIR%%/pixmaps/buoh16x16.png +%%DATADIR%%/pixmaps/buoh64x64.png +%%DATADIR%%/ui/buoh-ui.xml +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +share/pixmaps/buoh64x64.png +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%%/ui +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%%/comics +@dirrm %%DATADIR%% +@dirrmtry share/applications |