47 lines
1.2 KiB
Makefile
Raw Normal View History

2016-04-20 07:20:34 +00:00
# $OpenBSD: Makefile,v 1.50 2016/04/20 07:20:34 pea Exp $
COMMENT= powerful newsreader
2016-04-20 07:20:34 +00:00
V= 0.140
DISTNAME= pan-${V}
CATEGORIES= news x11
HOMEPAGE= http://pan.rebelbase.com/
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
2007-11-17 20:39:02 +00:00
2016-04-20 07:20:34 +00:00
USE_GMAKE= Yes
WANTLIB += atk-1.0 c cairo cairo-gobject iconv intl
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmime-2.6 gmodule-2.0 gnome-keyring gnutls gobject-2.0
WANTLIB += gthread-2.0 gtk-3 m notify pango-1.0 pangocairo-1.0
2016-04-20 07:20:34 +00:00
WANTLIB += pthread stdc++ z
MASTER_SITES= http://pan.rebelbase.com/download/releases/${V}/source/
2016-04-20 07:20:34 +00:00
MODULES= textproc/intltool # test target
LIB_DEPENDS= devel/libnotify \
mail/gmime \
security/gnutls \
2012-11-15 14:53:20 +00:00
x11/gnome/libgnome-keyring \
x11/gtk+3
2010-11-20 09:48:38 +00:00
RUN_DEPENDS= devel/desktop-file-utils
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-gtk3 --enable-libnotify --enable-gkr --with-gnutls
2012-11-15 14:53:20 +00:00
# XXX needs to be ported to gtkspell3
CONFIGURE_ARGS += --without-gtkspell
post-configure:
cd ${WRKSRC}/po && for i in $$(ls *.po) ; do ${LOCALBASE}/bin/msgfmt -c -o $${i%%po}gmo $$i ; done
.include <bsd.port.mk>