2016-04-20 07:20:34 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.50 2016/04/20 07:20:34 pea Exp $
|
2002-07-31 20:45:20 +00:00
|
|
|
|
2014-10-01 12:22:17 +00:00
|
|
|
COMMENT= powerful newsreader
|
2002-07-31 20:45:20 +00:00
|
|
|
|
2016-04-20 07:20:34 +00:00
|
|
|
V= 0.140
|
2008-02-01 20:30:49 +00:00
|
|
|
DISTNAME= pan-${V}
|
2002-07-31 20:45:20 +00:00
|
|
|
CATEGORIES= news x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://pan.rebelbase.com/
|
|
|
|
|
2010-09-13 16:23:47 +00:00
|
|
|
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
2002-07-31 20:45:20 +00:00
|
|
|
|
2010-09-13 16:23:47 +00:00
|
|
|
# GPLv2
|
2002-07-31 20:45:20 +00:00
|
|
|
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
|
2012-11-15 19:18:55 +00:00
|
|
|
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
|
2008-02-01 20:30:49 +00:00
|
|
|
|
|
|
|
MASTER_SITES= http://pan.rebelbase.com/download/releases/${V}/source/
|
|
|
|
|
2016-04-20 07:20:34 +00:00
|
|
|
MODULES= textproc/intltool # test target
|
2008-02-01 20:30:49 +00:00
|
|
|
|
2012-11-15 19:18:55 +00:00
|
|
|
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
|
2002-07-31 20:45:20 +00:00
|
|
|
|
2003-07-25 06:47:29 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2002-07-31 20:45:20 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2012-11-15 19:18:55 +00:00
|
|
|
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
|
2002-07-31 20:45:20 +00:00
|
|
|
|
2008-02-01 20:30:49 +00:00
|
|
|
post-configure:
|
|
|
|
cd ${WRKSRC}/po && for i in $$(ls *.po) ; do ${LOCALBASE}/bin/msgfmt -c -o $${i%%po}gmo $$i ; done
|
2002-07-31 20:45:20 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|