pkgsrc/www/ikiwiki/options.mk
schmonz 3ab1fbe906 Update to 3.20110431. From the changelog:
* Danish translation update. Closes: #625721
   * Danish underlay translation update. Closes: #625765
     (Thanks, Jonas Smedegaard)
   * Support YAML::XS by not passing decoded unicode to Load. Closes: #625713
   * openid, aggregate, pinger: Use Net::INET6Glue if available to
     support making ipv6 connections. (Note that if LWPx::ParanoidAgent
     is installed, it defeats this for openid.)
   * Add additional directive quoting styles, to better support nested
     directives. Both triple-single-quote and heredoc quotes can be used.
     (Thanks, Timo Paulssen)
   * Changed license of madduck's python plugins from GPL-2 to BSD-2-clause.
   * po: support language codes in the form of 'es_AR', and 'arn'. (intrigeri)
     Closes: #627844
   * po: Make po4a warn, not error on a malformed document. (intrigeri)
   * Support the Hiawatha web server which sets HTTPS=off rather than not
     setting it. (There does not seem to be a standard here.)

pkgsrc changes:
* Adjust local modifications to improve our upstream chances.
* Quell pkglint.
* Indent consistently.
2011-06-04 15:23:35 +00:00

58 lines
1.8 KiB
Makefile

# $NetBSD: options.mk,v 1.13 2011/06/04 15:23:35 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ikiwiki
PKG_SUPPORTED_OPTIONS= cvs ikiwiki-amazon-s3 ikiwiki-search
PKG_SUPPORTED_OPTIONS+= imagemagick python svn w3m
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcvs)
. if !exists(/usr/bin/cvs)
DEPENDS+= cvs-[0-9]*:../../devel/scmcvs
. endif
DEPENDS+= cvsps-[0-9]*:../../devel/cvsps
DEPENDS+= cvsweb-[0-9]*:../../www/cvsweb
DEPENDS+= p5-File-chdir-[0-9]*:../../devel/p5-File-chdir
DEPENDS+= p5-File-ReadBackwards-[0-9]*:../../textproc/p5-File-ReadBackwards
.endif
.if !empty(PKG_OPTIONS:Mikiwiki-search)
DEPENDS+= p5-Search-Xapian-[0-9]*:../../textproc/p5-Search-Xapian
DEPENDS+= xapian-omega-[0-9]*:../../textproc/xapian-omega
.endif
.if !empty(PKG_OPTIONS:Mikiwiki-amazon-s3)
DEPENDS+= p5-Net-Amazon-S3-[0-9]*:../../net/p5-Net-Amazon-S3
DEPENDS+= p5-File-MimeInfo-[0-9]*:../../devel/p5-File-MimeInfo
.endif
.if !empty(PKG_OPTIONS:Mimagemagick)
DEPENDS+= p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick
.endif
.if !empty(PKG_OPTIONS:Mpython)
DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
.else
PYTHON_FOR_BUILD_ONLY= yes # actually just defined
.endif
.if !empty(PKG_OPTIONS:Msvn)
DEPENDS+= subversion-base-[0-9]*:../../devel/subversion-base
.endif
PLIST_VARS+= w3m
.if !empty(PKG_OPTIONS:Mw3m)
DEPENDS+= w3m-[0-9]*:../../www/w3m
PLIST.w3m= yes
INSTALLATION_DIRS+= share/doc/${PKGBASE}/w3mmode
post-install:
${INSTALL_DATA} ${WRKSRC}/html/w3mmode.html \
${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/doc/w3mmode/ikiwiki.setup \
${PREFIX}/share/doc/${PKGBASE}/w3mmode/ikiwiki.setup
.else
SUBST_CLASSES+= w3m
SUBST_STAGE.w3m= pre-configure
SUBST_FILES.w3m= Makefile.PL
SUBST_SED.w3m+= -e 's,^\(.*install .*W3M_CGI_BIN\),\#\1,'
.endif