pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ikiwiki



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue May  2 00:43:54 UTC 2023

Modified Files:
        pkgsrc/www/ikiwiki: options.mk

Log Message:
For convenience, add a 'mercurial' option (off by default) to bring in py-mercurial.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/www/ikiwiki/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/ikiwiki/options.mk
diff -u pkgsrc/www/ikiwiki/options.mk:1.23 pkgsrc/www/ikiwiki/options.mk:1.24
--- pkgsrc/www/ikiwiki/options.mk:1.23  Mon Jan  3 16:58:40 2022
+++ pkgsrc/www/ikiwiki/options.mk       Tue May  2 00:43:54 2023
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.23 2022/01/03 16:58:40 wiz Exp $
+# $NetBSD: options.mk,v 1.24 2023/05/02 00:43:54 schmonz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.ikiwiki
 PKG_SUPPORTED_OPTIONS=         cgi imagemagick l10n python w3m
-PKG_SUPPORTED_OPTIONS+=                cvs git svn     # not mutually exclusive
+PKG_SUPPORTED_OPTIONS+=                cvs git mercurial svn   # not mutually exclusive
 PKG_SUPPORTED_OPTIONS+=                ikiwiki-amazon-s3 ikiwiki-highlight ikiwiki-search
 PKG_SUPPORTED_OPTIONS+=                ikiwiki-sudo
 PKG_OPTIONS_REQUIRED_GROUPS=   markdown
@@ -76,6 +76,10 @@ DEPENDS+=            ${PYPKGPREFIX}-expat-[0-9]*:.
 PYTHON_FOR_BUILD_ONLY= yes
 .endif
 
+.if !empty(PKG_OPTIONS:Mmercurial)
+DEPENDS+=      ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
+.endif
+
 .if !empty(PKG_OPTIONS:Msvn)
 DEPENDS+=      subversion-base-[0-9]*:../../devel/subversion-base
 .endif



Home | Main Index | Thread Index | Old Index