aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-08-17 06:11:13 +0800
committersat <sat@FreeBSD.org>2007-08-17 06:11:13 +0800
commit461a013d0b5a6529b9de4efd234b5339e96de493 (patch)
treea0b3e13585c3792ab7ed122b606b470a3f056bce
parentc5127338c188eca07cac82dc8508565ddcc0b85e (diff)
downloadfreebsd-ports-gnome-461a013d0b5a6529b9de4efd234b5339e96de493.tar.gz
freebsd-ports-gnome-461a013d0b5a6529b9de4efd234b5339e96de493.tar.zst
freebsd-ports-gnome-461a013d0b5a6529b9de4efd234b5339e96de493.zip
- Honor NOPORTEXAMPLES
Approved by: Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
-rw-r--r--www/squid/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile
index f3603c4987f9..1d1812bb8bb7 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -424,8 +424,10 @@ pre-su-install:
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/helpers/basic_auth/DB/passwd.sql ${EXAMPLESDIR}
+.endif
.if defined(WITH_SQUID_PINGER)
${CHMOD} 4510 ${PREFIX}/libexec/squid/pinger; \
${CHGRP} ${SQUID_GID} ${PREFIX}/libexec/squid/pinger