* mercurial: Openid nicknames are now used when committing. (Daniel Andersson) * mercurial: Implement rcs_commit_staged so comments, attachments, etc can be used. (Daniel Andersson) * mercurial: Implement rcs_rename, rcs_remove. (Daniel Andersson) * mercurial: Fix viewing of a diff containing non-utf8 changes. (Daniel Andersson) * mercurial: Make both rcs_getctime and rcs_getmtime fast. (Daniel Andersson) * mercurial: Implement rcs_diff. (Daniel Andersson) * po: Add `LANG_CODE` and `LANG_NAME` template variables. (intrigeri) * Fix typo in Danish translation of shortcuts page that caused exponential regexp blowup. * Fix escaping of html entities in permalinks. * Fix escaping of html entities in tag names. * Avoid using named capture groups in heredoc code for oldperl compatibility. * Put in a workaround for #622591, by ensuring Search::Xapian gets loaded before Image::Magick. * Add unminified jquery js and css files to source. * Update to jquery 1.6.2, and jquery-ui 1.8.14. * Use lockf rather than flock when taking the cgilock, for better portability. * search: Fix encoding bug in calculation of maximum term size. * inline: When indexing internal pages for searching, use the url of the inlining page. * Fix comments testsuite to not rely on Date::Parse's ability to parse the date Columbus discovered America. Closes: #640350 * Avoid warning message when generating setup file if highlight is not installed. Closes: #637606 * Promote RPC::XML to a Recommends, since it's used by auto-blog.setup. Closes: #637603 * Fix web revert of a file deletion.
71 lines
2.6 KiB
Makefile
71 lines
2.6 KiB
Makefile
# $NetBSD: Makefile,v 1.84 2011/09/05 22:07:28 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= ikiwiki_3.20110905
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
CATEGORIES= www textproc
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/ikiwiki/}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://ikiwiki.info/
|
|
COMMENT= Wiki compiler
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= p5-Text-Markdown-[0-9]*:../../textproc/p5-Text-Markdown
|
|
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
|
|
DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
|
|
DEPENDS+= p5-HTML-Template-[0-9]*:../../www/p5-HTML-Template
|
|
DEPENDS+= p5-CGI-Session-[0-9]*:../../www/p5-CGI-Session
|
|
DEPENDS+= p5-CGI-FormBuilder>=3.05:../../www/p5-CGI-FormBuilder
|
|
DEPENDS+= p5-Mail-Sendmail-[0-9]*:../../mail/p5-Mail-Sendmail
|
|
DEPENDS+= p5-Time-Duration-[0-9]*:../../time/p5-Time-Duration
|
|
DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
|
|
DEPENDS+= p5-HTML-Scrubber>=0.08:../../www/p5-HTML-Scrubber
|
|
DEPENDS+= p5-RPC-XML-[0-9]*:../../net/p5-RPC-XML
|
|
DEPENDS+= p5-XML-Atom-[0-9]*:../../textproc/p5-XML-Atom
|
|
DEPENDS+= p5-XML-Feed-[0-9]*:../../textproc/p5-XML-Feed
|
|
DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple
|
|
DEPENDS+= p5-XML-RSS-[0-9]*:../../textproc/p5-XML-RSS
|
|
DEPENDS+= p5-File-MimeInfo-[0-9]*:../../devel/p5-File-MimeInfo
|
|
DEPENDS+= p5-gettext-[0-9]*:../../devel/p5-gettext
|
|
DEPENDS+= p5-YAML-[0-9]*:../../textproc/p5-YAML
|
|
#DEPENDS+= po4a-[0-9]*:../../textproc/po4a
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGBASE}
|
|
PERL5_PACKLIST= auto/IkiWiki/.packlist
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= gmake msgfmt perl:run xgettext
|
|
|
|
REPLACE_PERL+= Makefile.PL *.in *.cgi *.pm* */*.pm* */*/*.pm* */*.t
|
|
REPLACE_PERL+= *.setup */*.setup */*/*.setup
|
|
REPLACE_PERL+= ikiwiki-mass-rebuild ikiwiki-update-wikilist
|
|
REPLACE_PERL+= gitremotes mdwn2man pm_filter po/po2wiki
|
|
REPLACE_PERL+= plugins/externaldemo # XXX not installed
|
|
# find . -type f -print | \
|
|
# perl -ne 'open(F, "<$_"); $l=<F>; print if $l =~ m|^#!/usr/bin/perl|'
|
|
REPLACE_PYTHON+= plugins/proxy.py plugins/pythondemo plugins/rst
|
|
|
|
MAKE_FLAGS+= W3M_CGI_BIN=${PREFIX:Q}/libexec/w3m/cgi-bin
|
|
MAKE_FLAGS+= SYSCONFDIR=${PKG_SYSCONFDIR:Q}
|
|
MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}
|
|
|
|
INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR:Q}
|
|
|
|
PKG_SYSCONFSUBDIR= ${PKGBASE}
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
.for f in auto.setup auto-blog.setup wikilist
|
|
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
|
|
.endfor
|
|
|
|
#SPECIAL_PERMS+= ${PREFIX}/bin/ikiwiki-update-wikilist ...
|
|
|
|
.include "options.mk"
|
|
|
|
pre-configure:
|
|
find ${WRKSRC} -type f -name '*.orig' -print | xargs rm -f
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|