aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-05-31 01:09:01 +0800
committerdinoex <dinoex@FreeBSD.org>2008-05-31 01:09:01 +0800
commitc25974ce083ff136211ddfb55dd77fd7ec8f9a3b (patch)
tree646a482ee9d727f94ca636705cbba6169c7be195 /www
parent558098ac9b30dc5c9e5d00b9ab8d9395ee71992a (diff)
downloadfreebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.gz
freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.zst
freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.zip
- use PORTEXAMPLES
Diffstat (limited to 'www')
-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%%