aboutsummaryrefslogtreecommitdiff
path: root/www/mini_httpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mini_httpd/Makefile')
-rw-r--r--www/mini_httpd/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile
index 9327a3be4a0a..fe75b429fa1f 100644
--- a/www/mini_httpd/Makefile
+++ b/www/mini_httpd/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mini_httpd
PORTVERSION= 1.30
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www ipv6
MASTER_SITES= https://www.acme.com/software/mini_httpd/
@@ -16,6 +16,8 @@ USES= cpe ssl
CPE_VENDOR= acme
+OPTIONS_DEFINE+= EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's/htpasswd/${PORTNAME}-htpasswd/' \
${WRKSRC}/htpasswd.1
@@ -23,13 +25,9 @@ post-patch:
${WRKSRC}/${PORTNAME}.8
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
- @${MKDIR} ${STAGEDIR}${PREFIX}/www/chroot/logs
${INSTALL_PROGRAM} ${WRKSRC}/mini_httpd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/htpasswd \
${STAGEDIR}${PREFIX}/sbin/${PORTNAME}-htpasswd
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/500.mini_httpd-rotate \
- ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd_wrapper \
${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd.sh \
@@ -40,5 +38,8 @@ do-install:
${STAGEDIR}${MANPREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/mini_httpd.cnf \
${STAGEDIR}${PREFIX}/etc/mini_httpd.cnf.sample
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/500.mini_httpd-rotate \
+ ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>