2002-08-19 20:11:18 +00:00
|
|
|
# New ports collection makefile for: pan2
|
|
|
|
# Date created: 19 August 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
1999-08-30 05:47:33 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2008-03-24 03:52:36 +00:00
|
|
|
# $MCom: ports/news/pan/Makefile,v 1.7 2008/01/19 22:45:42 mezz Exp $
|
1999-08-30 05:47:33 +00:00
|
|
|
#
|
|
|
|
|
2006-05-28 13:01:01 +00:00
|
|
|
PORTNAME= pan
|
2011-08-13 15:37:58 +00:00
|
|
|
PORTVERSION= 0.135
|
1999-08-30 05:47:33 +00:00
|
|
|
CATEGORIES= news gnome
|
2006-10-14 08:54:54 +00:00
|
|
|
MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/source/
|
2002-08-19 20:11:18 +00:00
|
|
|
DIST_SUBDIR= gnome2
|
1999-08-30 05:47:33 +00:00
|
|
|
|
2001-05-11 16:36:50 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2011-08-13 15:37:58 +00:00
|
|
|
COMMENT= Threaded GTK+ newsreader based on Agent for Windows
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
1999-08-30 05:47:33 +00:00
|
|
|
|
2007-03-11 19:41:33 +00:00
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
|
2011-02-28 12:29:41 +00:00
|
|
|
gmime-2.4.6:${PORTSDIR}/mail/gmime24
|
2002-08-19 20:11:18 +00:00
|
|
|
|
1999-08-30 05:47:33 +00:00
|
|
|
USE_BZIP2= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GMAKE= yes
|
2011-08-13 15:37:58 +00:00
|
|
|
USE_GNOME= gnomehack intlhack
|
2006-05-15 22:23:04 +00:00
|
|
|
USE_GETTEXT= yes
|
2003-07-18 00:41:18 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-13 15:37:58 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2011-09-23 22:26:39 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex
|
1999-08-30 05:47:33 +00:00
|
|
|
|
2011-08-13 15:37:58 +00:00
|
|
|
OPTIONS= GTKSPELL "Enable spell checking support (gtk+2 only)" on \
|
|
|
|
GTK3 "Build with gtk+3 based UI instead of gtk+2" off
|
2004-04-11 21:03:37 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2011-08-13 15:37:58 +00:00
|
|
|
.if defined(WITHOUT_GTK3)
|
|
|
|
USE_GNOME+= gtk20
|
|
|
|
CONFIGURE_ARGS+=--without-gtk3
|
|
|
|
.else
|
|
|
|
USE_GNOME+= gtk30
|
|
|
|
CONFIGURE_ARGS+=--with-gtk3
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_GTKSPELL) || defined(WITH_GTK3)
|
2006-10-14 08:54:54 +00:00
|
|
|
CONFIGURE_ARGS+= --without-gtkspell
|
2004-04-11 21:03:37 +00:00
|
|
|
.else
|
2006-05-28 15:54:10 +00:00
|
|
|
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
2006-10-14 08:54:54 +00:00
|
|
|
CONFIGURE_ARGS+= --with-gtkspell
|
2004-04-11 21:03:37 +00:00
|
|
|
.endif
|
|
|
|
|
2006-11-02 17:46:07 +00:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in"| ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g'
|
|
|
|
|
2004-04-11 21:03:37 +00:00
|
|
|
.include <bsd.port.post.mk>
|