summaryrefslogtreecommitdiff
path: root/news/trn/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-12-01 19:29:26 +0000
committerwiz <wiz@pkgsrc.org>2005-12-01 19:29:26 +0000
commit2c366b09bb353c4c8ed2232b20b05520e308ea61 (patch)
treecf4f28a155ce951811f2d49ef037d22fe2886ea7 /news/trn/options.mk
parent1c6d543c750c0fc1a4b58c2aa35c81ab27d4ecc8 (diff)
downloadpkgsrc-2c366b09bb353c4c8ed2232b20b05520e308ea61.tar.gz
Convert to options framework.
Diffstat (limited to 'news/trn/options.mk')
-rw-r--r--news/trn/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/news/trn/options.mk b/news/trn/options.mk
new file mode 100644
index 00000000000..fa5653cc52c
--- /dev/null
+++ b/news/trn/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2005/12/01 19:29:26 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.trn
+PKG_OPTIONS_REQUIRED_GROUPS= nntpclient
+PKG_OPTIONS_GROUP.nntpclient= trn-inn trn-nntpclnt
+PKG_SUGGESTED_OPTIONS+= trn-nntpclnt
+# remove after 2005Q4
+PKG_OPTIONS_LEGACY_VARS+= USE_INN:trn-inn
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minn)
+DEPENDS= inn>=2.2:../../news/inn
+.else
+DEPENDS= nntpclnt>=1.6.1:../../news/nntpclnt
+.endif