aboutsummaryrefslogtreecommitdiff
path: root/www/mod_cfg_ldap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_cfg_ldap/Makefile')
-rw-r--r--www/mod_cfg_ldap/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/www/mod_cfg_ldap/Makefile b/www/mod_cfg_ldap/Makefile
index 608480403604..bcb4f01a34ec 100644
--- a/www/mod_cfg_ldap/Makefile
+++ b/www/mod_cfg_ldap/Makefile
@@ -11,6 +11,7 @@ DIST_SUBDIR= apache2
MAINTAINER= apache@FreeBSD.org
COMMENT= Allows you to keep your virtual host configuration in a LDAP directory
+LICENSE= BSD3CLAUSE
USE_APACHE= 22+
USE_OPENLDAP= yes
@@ -25,13 +26,8 @@ AP_LIB+= ${LDAP_LIB}
PORTDOCS= AUTHORS cfg_ldap.conf ChangeLog COPYING INSTALL \
mod_cfg_ldap.schema README TODO
-NO_STAGE= yes
post-install:
-.if !defined (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>