2012-07-03 05:45:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2012/07/03 09:45:38 pea Exp $
|
2002-07-31 16:45:20 -04:00
|
|
|
|
2007-09-15 17:41:50 -04:00
|
|
|
COMMENT= powerful Gtk+2 newsreader
|
2002-07-31 16:45:20 -04:00
|
|
|
|
2012-07-03 05:45:38 -04:00
|
|
|
V= 0.139
|
2008-02-01 15:30:49 -05:00
|
|
|
DISTNAME= pan-${V}
|
2002-07-31 16:45:20 -04:00
|
|
|
CATEGORIES= news x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://pan.rebelbase.com/
|
|
|
|
|
2010-09-13 12:23:47 -04:00
|
|
|
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
2002-07-31 16:45:20 -04:00
|
|
|
|
2010-09-13 12:23:47 -04:00
|
|
|
# GPLv2
|
2002-07-31 16:45:20 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-17 15:39:02 -05:00
|
|
|
|
2012-06-26 04:20:48 -04:00
|
|
|
WANTLIB += GL X11 Xrender enchant gtkspell-3
|
|
|
|
WANTLIB += atk-1.0 c cairo expat fontconfig freetype
|
|
|
|
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmime-2.6
|
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0
|
2011-08-30 02:48:49 -04:00
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
|
|
|
WANTLIB += pthread pthread-stubs stdc++ xcb xcb-render xcb-shm
|
2012-06-26 04:20:48 -04:00
|
|
|
WANTLIB += z cairo-gobject gdk-3 gtk-3 gnome-keyring notify
|
2008-02-01 15:30:49 -05:00
|
|
|
|
|
|
|
MASTER_SITES= http://pan.rebelbase.com/download/releases/${V}/source/
|
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
textproc/intltool # regress target
|
|
|
|
|
2012-06-26 04:20:48 -04:00
|
|
|
# GNUTLS is not activated (need >= 3.0.0 )
|
|
|
|
|
|
|
|
LIB_DEPENDS= mail/gmime>=2.6.0 \
|
|
|
|
textproc/gtkspell3 \
|
|
|
|
textproc/enchant \
|
|
|
|
devel/libnotify \
|
|
|
|
x11/gnome/libgnome-keyring
|
2010-11-20 04:48:38 -05:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
2002-07-31 16:45:20 -04:00
|
|
|
|
2008-02-14 08:40:55 -05:00
|
|
|
VMEM_WARNING= Yes
|
2008-02-01 15:30:49 -05:00
|
|
|
|
2003-07-25 02:47:29 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2002-07-31 16:45:20 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2012-06-26 04:20:48 -04:00
|
|
|
CONFIGURE_ARGS= --with-gtk3 --with-gtkspell --enable-libnotify --enable-gkr
|
2002-07-31 16:45:20 -04:00
|
|
|
|
2008-02-01 15:30:49 -05: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 16:45:20 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|