aboutsummaryrefslogtreecommitdiff
path: root/news/pan/Makefile
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-11-10 03:38:37 +0000
committerSteve Wills <swills@FreeBSD.org>2018-11-10 03:38:37 +0000
commit89af6749958d2072a90ad8c298ae6c20fb19e102 (patch)
treebe30f375d1a3d3d2cb1ebdaa00b16bfa41f43e63 /news/pan/Makefile
parentfcc1aad0cb15f65ae775eaf33d206b32f5769442 (diff)
downloadports-89af6749958d2072a90ad8c298ae6c20fb19e102.tar.gz
ports-89af6749958d2072a90ad8c298ae6c20fb19e102.zip
Notes
Diffstat (limited to 'news/pan/Makefile')
-rw-r--r--news/pan/Makefile38
1 files changed, 20 insertions, 18 deletions
diff --git a/news/pan/Makefile b/news/pan/Makefile
index 1b38e8ecf9a2..b00afda748e4 100644
--- a/news/pan/Makefile
+++ b/news/pan/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pan
-PORTVERSION= 0.141
+PORTVERSION= 0.145
CATEGORIES= news gnome
MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/source/
DIST_SUBDIR= gnome2
@@ -11,44 +11,46 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Threaded GTK+ newsreader based on Agent for Windows
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= itstool:textproc/itstool
LIB_DEPENDS= libpcre.so:devel/pcre \
libenchant.so:textproc/enchant \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgmime-2.6.so:mail/gmime26
-USES= gmake iconv localbase pathfix pkgconfig tar:bzip2
+USES= desktop-file-utils gettext-tools:build gmake gnome iconv \
+ localbase pathfix pkgconfig tar:bzip2
USE_GNOME= cairo gdkpixbuf2 intlhack
GNU_CONFIGURE= yes
LDFLAGS+= -lgnuregex ${ICONV_LIB}
-
-OPTIONS_DEFINE= GTKSPELL GNUTLS NLS
-OPTIONS_RADIO= GTK
+INSTALLS_ICONS= yes
+OPTIONS_DEFINE= GTKSPELL GNUTLS NLS
+OPTIONS_DEFAULT= GTKSPELL GNUTLS GTK2
+OPTIONS_RADIO= GTK
OPTIONS_RADIO_GTK= GTK2 GTK3
-OPTIONS_SUB= yes
-OPTIONS_DEFAULT=GTKSPELL GNUTLS GTK2
-GTKSPELL_DESC= Spell checking support (gtk+2 only)
+OPTIONS_SUB= yes
+GTKSPELL_DESC= Spell checking support (gtk+2 only)
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
-GNUTLS_USES= pkgconfig
GNUTLS_CONFIGURE_WITH= gnutls
GTK3_CONFIGURE_WITH= gtk3
-GTK3_USE= gnome=gtk30
-
-GTK2_USE= gnome=gtk20
+GTK3_USE= gnome=gtk30
+GTK2_USE= gnome=gtk20
GTKSPELL_LIB_DEPENDS= libgtkspell.so:textproc/gtkspell
-GTKSPELL_CONFIGURE_WITH= gtkspell
-
-GTK3_PREVENTS= GTKSPELL
+GTKSPELL_CONFIGURE_WITH=gtkspell
+GTK3_PREVENTS= GTKSPELL
-NLS_USES= gettext
+NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
+NLS_CONFIGURE_DISABLE= nls
post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in"| ${XARGS} ${REINPLACE_CMD} -e \
- 's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g'
+ ${REINPLACE_CMD} -e 's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g' \
+ ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e '98s|const std|std|' ${WRKSRC}/pan/general/string-view.h
.include <bsd.port.mk>