45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.61 2019/07/12 20:48:53 sthen Exp $
COMMENT= powerful newsreader
V= 0.140
DISTNAME= pan-${V}
CATEGORIES= news x11
REVISION= 6
HOMEPAGE= http://pan.rebelbase.com/
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} atk-1.0 c cairo cairo-gobject enchant
WANTLIB += enchant-2 gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmime-2.6
WANTLIB += gmodule-2.0 gnome-keyring gnutls gobject-2.0 gthread-2.0
WANTLIB += gtk-3 gtkspell3-3 iconv intl m notify pango-1.0 pangocairo-1.0
WANTLIB += z
COMPILER = base-clang ports-gcc base-gcc
USE_GMAKE= Yes
MASTER_SITES= http://pan.rebelbase.com/download/releases/${V}/source/
MODULES= textproc/intltool
LIB_DEPENDS= devel/libnotify \
mail/gmime \
security/gnutls \
textproc/enchant \
textproc/gtkspell3 \
x11/gnome/libgnome-keyring
RUN_DEPENDS= devel/desktop-file-utils
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"
CONFIGURE_ARGS= --with-gtk3 --enable-libnotify --enable-gkr --with-gnutls
.include <bsd.port.mk>