summaryrefslogtreecommitdiff
path: root/sysutils/wbm-apache
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/wbm-apache')
-rw-r--r--sysutils/wbm-apache/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/wbm-apache/Makefile b/sysutils/wbm-apache/Makefile
index 8c022c2988d..c8d00946d30 100644
--- a/sysutils/wbm-apache/Makefile
+++ b/sysutils/wbm-apache/Makefile
@@ -1,19 +1,20 @@
-# $NetBSD: Makefile,v 1.8 2009/05/16 17:10:40 kefren Exp $
+# $NetBSD: Makefile,v 1.9 2010/07/11 17:41:01 joerg Exp $
WBM_NAME= apache
COMMENT= Webmin module for configuring Apache servers
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../sysutils/webmin/wbm.mk"
-CONF_FILES_PERMS+= ${WBM_EGDIR}/${WBM_NAME}/site \
- ${PKG_SYSCONFDIR}/${WBM_NAME}/site \
- ${ROOT_USER} ${ROOT_GROUP} 0644
+CONF_FILES+= ${WBM_EGDIR}/${WBM_NAME}/site \
+ ${PKG_SYSCONFDIR}/${WBM_NAME}/site
post-build:
${TOUCH} ${TOUCH_ARGS} ${WRKDIR}/site
post-install:
- ${INSTALL_DATA} ${WRKDIR}/site ${WBM_EGDIR}/${WBM_NAME}/site
+ ${INSTALL_DATA} ${WRKDIR}/site ${DESTDIR}${WBM_EGDIR}/${WBM_NAME}/site
.include "../../mk/bsd.pkg.mk"