aboutsummaryrefslogtreecommitdiff
path: root/news/pan2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-11 21:03:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-11 21:03:37 +0000
commit6d61b26b0560395b703bd0d1c3a8513624826a44 (patch)
tree812f8fce246d7f4fead8ebed1bed003f0aa60e12 /news/pan2
parent87ce6d0184979f34f6a374fd309e96385f5e0806 (diff)
downloadports-6d61b26b0560395b703bd0d1c3a8513624826a44.tar.gz
ports-6d61b26b0560395b703bd0d1c3a8513624826a44.zip
Notes
Diffstat (limited to 'news/pan2')
-rw-r--r--news/pan2/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/news/pan2/Makefile b/news/pan2/Makefile
index 65b8c22e1ec4..548dc2856e3a 100644
--- a/news/pan2/Makefile
+++ b/news/pan2/Makefile
@@ -17,8 +17,7 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Threaded GNOME 2 newsreader based on Agent for Windows
-LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell2 \
- gnet-2.0.0:${PORTSDIR}/net/gnet2
+LIB_DEPENDS= gnet-2.0.0:${PORTSDIR}/net/gnet2
USE_BZIP2= yes
USE_X_PREFIX= yes
@@ -28,4 +27,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat"
-.include <bsd.port.mk>
+OPTIONS= GTKSPELL "Enable spell checking support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_GTKSPELL)
+CONFIGURE_ARGS+= --disable-gtkspell
+.else
+LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
+.endif
+
+.include <bsd.port.post.mk>