summaryrefslogtreecommitdiff
path: root/www/ikiwiki/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/ikiwiki/Makefile')
-rw-r--r--www/ikiwiki/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/www/ikiwiki/Makefile b/www/ikiwiki/Makefile
index 29911dea1027..da9f71d27846 100644
--- a/www/ikiwiki/Makefile
+++ b/www/ikiwiki/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= ikiwiki
-PORTVERSION= 2.14
+PORTVERSION= 2.32.3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -38,9 +38,10 @@ USE_GETTEXT= yes
OPTIONS= W3M "Install w3m CGI wrapper" off
-MAN1= ikiwiki.1 ikiwiki-update-wikilist.1
+MAN1= ikiwiki.1 ikiwiki-makerepo.1 ikiwiki-update-wikilist.1
MAN8= ikiwiki-mass-rebuild.8
PORTDOCS= CHANGELOG NEWS README
+PORTEXAMPLES= ikiwiki.setup
.include <bsd.port.pre.mk>
@@ -54,9 +55,10 @@ post-patch:
@${REINPLACE_CMD} -e "s|/usr/bin/markdown|${LOCALBASE}/bin/markdown|" \
${WRKSRC}/IkiWiki/Plugin/mdwn.pm
@${REINPLACE_CMD} -e "s|/etc/ikiwiki/wikilist|${LOCALBASE}/etc/ikiwiki/wikilist|" \
- ${WRKSRC}/ikiwiki-mass-rebuild
- @${REINPLACE_CMD} -e "s|/etc/ikiwiki/wikilist|${LOCALBASE}/etc/ikiwiki/wikilist|" \
- ${WRKSRC}/doc/ikiwiki-mass-rebuild.mdwn
+ ${WRKSRC}/ikiwiki-mass-rebuild \
+ ${WRKSRC}/doc/ikiwiki-mass-rebuild.mdwn \
+ ${WRKSRC}/ikiwiki-update-wikilist \
+ ${WRKSRC}/doc/ikiwiki-update-wikilist.mdwn
@${REINPLACE_CMD} \
-e 's|$$(PREFIX)/share/man|$$(PREFIX)/man|' \
-e 's|$$(PREFIX)/lib/w3m|$$(PREFIX)/libexec/w3m|' \
@@ -70,6 +72,10 @@ post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S@^@${WRKSRC}/doc/@} ${EXAMPLESDIR}
+.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>