aboutsummaryrefslogtreecommitdiff
path: root/www/webalizer
diff options
context:
space:
mode:
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/Makefile10
-rw-r--r--www/webalizer/pkg-plist8
2 files changed, 10 insertions, 8 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 01e199145da6..906d342ef54a 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -193,10 +193,6 @@ post-install:
.for i in ${DOC1}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
- ${MKDIR} ${EXAMPLESDIR}
-.for i in msfree.png sample.conf webalizer.png
- @${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}/${i}
-.endfor
.if defined(WITH_GEOIP)
${MKDIR} ${DOCSDIR}/geolizer
.for i in ${DOC2}
@@ -205,5 +201,11 @@ post-install:
.endfor
.endif
.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+.for i in msfree.png sample.conf webalizer.png
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}/${i}
+.endfor
+.endif
.include <bsd.port.post.mk>
diff --git a/www/webalizer/pkg-plist b/www/webalizer/pkg-plist
index baff8080e2d7..193eefa276e8 100644
--- a/www/webalizer/pkg-plist
+++ b/www/webalizer/pkg-plist
@@ -265,7 +265,7 @@ etc/%%PKGNAMEPREFIX%%webalizer.conf-dist
%%PORTDOCS%%%%DOCSDIR%%/README.FIRST
%%PORTDOCS%%%%DOCSDIR%%/country-codes.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%%%EXAMPLESDIR%%/msfree.png
-%%PORTDOCS%%%%EXAMPLESDIR%%/sample.conf
-%%PORTDOCS%%%%EXAMPLESDIR%%/webalizer.png
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/msfree.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/webalizer.png
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%