aboutsummaryrefslogtreecommitdiffstats
path: root/www/ikiwiki/Makefile
diff options
context:
space:
mode:
authorbrix <brix@FreeBSD.org>2009-01-19 04:26:03 +0800
committerbrix <brix@FreeBSD.org>2009-01-19 04:26:03 +0800
commit509f7d78e07846aba54743d9b24ed7e0330c241a (patch)
tree82a23f957211734b7df94d36a0ef33ad934f6764 /www/ikiwiki/Makefile
parent0396824cedaed132534e53b54b13b44bd644e2ad (diff)
downloadfreebsd-ports-gnome-509f7d78e07846aba54743d9b24ed7e0330c241a.tar.gz
freebsd-ports-gnome-509f7d78e07846aba54743d9b24ed7e0330c241a.tar.zst
freebsd-ports-gnome-509f7d78e07846aba54743d9b24ed7e0330c241a.zip
- Update to v3.01
Instructions for migrating existing ikiwiki configurations to 3.x format can be found at http://ikiwiki.info/tips/upgrade_to_3.0/
Diffstat (limited to 'www/ikiwiki/Makefile')
-rw-r--r--www/ikiwiki/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/ikiwiki/Makefile b/www/ikiwiki/Makefile
index 602460c2cff8..bf128245b14c 100644
--- a/www/ikiwiki/Makefile
+++ b/www/ikiwiki/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= ikiwiki
-PORTVERSION= 2.67
+PORTVERSION= 3.01
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} \
http://kitenet.net/~joey/debian/unstable/
@@ -54,6 +54,7 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-D
.endif
.if defined(WITH_W3M)
+MAKE_ENV+= W3M_CGI_BIN=${PREFIX}/libexec/w3m/cgi-bin
PLIST_SUB= W3M=""
.else
PLIST_SUB= W3M="@comment "
@@ -72,7 +73,6 @@ post-patch:
${WRKSRC}/doc/ikiwiki-update-wikilist.mdwn
@${REINPLACE_CMD} \
-e 's|$$(PREFIX)/share/man|$$(PREFIX)/man|' \
- -e 's|$$(PREFIX)/lib/w3m|$$(PREFIX)/libexec/w3m|' \
-e 's|-wholename|-path|' \
-e 's|\(-install -d $$(DESTDIR)/etc/ikiwiki\)|#\1|' \
-e 's|\(-install -m 0644 wikilist\)|#\1|' \
@@ -83,7 +83,7 @@ post-patch:
${WRKSRC}/IkiWiki/Plugin/search.pm
@${RM} ${WRKSRC}/IkiWiki/Plugin/search.pm.bak
.ifndef(WITH_W3M)
- @${REINPLACE_CMD} -e '/w3m/d' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e '/w3m/d' -e '/W3M/d' ${WRKSRC}/Makefile.PL
.endif
post-install: