summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2011-03-23 21:44:24 +0000
committershattered <shattered@pkgsrc.org>2011-03-23 21:44:24 +0000
commit31773c1c6cac1d350900ee897cab5b9c3b9b37dc (patch)
treebb5bf734cd5a87f9df578b88e4f4af9c457cb73b /news
parent7dce980d122c89d1bb2a5321acc49b8c39ddcf01 (diff)
downloadpkgsrc-31773c1c6cac1d350900ee897cab5b9c3b9b37dc.tar.gz
PR/38525 -- Add support for SSL (nntps://) and support for decoding
binaries using uulib.
Diffstat (limited to 'news')
-rw-r--r--news/slrn/Makefile6
-rw-r--r--news/slrn/options.mk27
2 files changed, 30 insertions, 3 deletions
diff --git a/news/slrn/Makefile b/news/slrn/Makefile
index 709fccc2f9d..133f5db6fda 100644
--- a/news/slrn/Makefile
+++ b/news/slrn/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.47 2011/01/13 13:39:09 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2011/03/23 21:44:24 shattered Exp $
DISTNAME= slrn-0.9.9p1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= news
MASTER_SITES= ftp://space.mit.edu/pub/davis/slrn/
-EXTRACT_SUFX= .tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://slrn.sourceforge.net/
@@ -24,6 +23,7 @@ CONFIGURE_ARGS+= --disable-inews --with-slrnpull --enable-spool \
--with-slanginc=slang2/slang.h \
--with-localedir=${PREFIX}/${PKGLOCALEDIR}/locale
+.include "options.mk"
.include "../../mk/bsd.prefs.mk"
# the next is a workaround, as 1.3.2 install doesn't like -c and -d
diff --git a/news/slrn/options.mk b/news/slrn/options.mk
new file mode 100644
index 00000000000..45635766247
--- /dev/null
+++ b/news/slrn/options.mk
@@ -0,0 +1,27 @@
+# $NetBSD: options.mk,v 1.1 2011/03/23 21:44:24 shattered Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.slrn
+PKG_SUPPORTED_OPTIONS= ssl uulib
+PKG_SUGGESTED_OPTIONS= ssl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### SSL support
+###
+.if !empty(PKG_OPTIONS:Mssl)
+. include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ssl=${SSLBASE:Q}
+.else
+CONFIGURE_ARGS+= --without-ssl
+.endif
+
+###
+### uulib support
+###
+.if !empty(PKG_OPTIONS:Muulib)
+. include "../../converters/uulib/buildlink3.mk"
+CONFIGURE_ARGS+= --with-uudeview
+.else
+CONFIGURE_ARGS+= --without-uudeview
+.endif