aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbrix <brix@FreeBSD.org>2009-03-26 05:18:06 +0800
committerbrix <brix@FreeBSD.org>2009-03-26 05:18:06 +0800
commitb6b4f7e749a0a0ae105774f94320a77e5c5919b8 (patch)
treece1acb40a49492f58fe03247385675ab16df3f7c /www
parent7f96785986b58ce9307643479b1477a5b06a53b4 (diff)
downloadfreebsd-ports-gnome-b6b4f7e749a0a0ae105774f94320a77e5c5919b8.tar.gz
freebsd-ports-gnome-b6b4f7e749a0a0ae105774f94320a77e5c5919b8.tar.zst
freebsd-ports-gnome-b6b4f7e749a0a0ae105774f94320a77e5c5919b8.zip
- Fix leftover examples directory.
- Bump PORTREVISION Reported by: QAT
Diffstat (limited to 'www')
-rw-r--r--www/ikiwiki/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/ikiwiki/Makefile b/www/ikiwiki/Makefile
index 45a4ec4eb76c..680ecd9b0903 100644
--- a/www/ikiwiki/Makefile
+++ b/www/ikiwiki/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ikiwiki
PORTVERSION= 3.08
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} \
http://kitenet.net/~joey/debian/unstable/
@@ -88,8 +89,11 @@ post-patch:
@${REINPLACE_CMD} -e '/w3m/d' -e '/W3M/d' ${WRKSRC}/Makefile.PL
.endif
.if defined(NOPORTEXAMPLES)
- ${MV} ${WRKSRC}/doc/examples ${WRKSRC}/doc/examples.not_installed
- ${MKDIR} ${WRKSRC}/doc/examples
+ @${REINPLACE_CMD} \
+ -e 's|\(install -d ${EXAMPLESDIR}\)|#\1|' \
+ -e 's|\(cp -aL doc/examples\)|#\1|' \
+ -e 's|\(install -m 644 doc/examples\)|#\1|' \
+ ${WRKSRC}/Makefile.PL
.endif
post-install: