aboutsummaryrefslogtreecommitdiff
path: root/www/webalizer
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-05-30 17:09:01 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-05-30 17:09:01 +0000
commit79efb30db9018f7dc0190848f0c3abf1060b4336 (patch)
tree9fd78abdee564742abce31a5d46f1e89b4cbc0c1 /www/webalizer
parent0dcb5d271b6eab41164fb2d962fcc540f42871dc (diff)
downloadports-79efb30db9018f7dc0190848f0c3abf1060b4336.tar.gz
ports-79efb30db9018f7dc0190848f0c3abf1060b4336.zip
Notes
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%%