summaryrefslogtreecommitdiffstats
path: root/deskutils/buoh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/buoh/Makefile')
-rw-r--r--deskutils/buoh/Makefile62
1 files changed, 62 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>