Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2014 13:55:20 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347571 - head/www/mod_vhs
Message-ID:  <201403091355.s29DtK8q070960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Sun Mar  9 13:55:20 2014
New Revision: 347571
URL: http://svnweb.freebsd.org/changeset/ports/347571
QAT: https://qat.redports.org/buildarchive/r347571/

Log:
  - add stage support
  - add LICENSE
  - fix PORTDOCS

Modified:
  head/www/mod_vhs/Makefile

Modified: head/www/mod_vhs/Makefile
==============================================================================
--- head/www/mod_vhs/Makefile	Sun Mar  9 13:34:32 2014	(r347570)
+++ head/www/mod_vhs/Makefile	Sun Mar  9 13:55:20 2014	(r347571)
@@ -10,6 +10,8 @@ DIST_SUBDIR=	apache2
 MAINTAINER=	kiwi@oav.net
 COMMENT=	Mass virtual hosting using mod_ldap or mod_dbd with Apache 2.2.x
 
+LICENSE=	APACHE11
+
 MANUAL_PACKAGE_BUILD=	needs apr with LDAP and DBD options enabled
 
 USE_APACHE=	22+
@@ -20,7 +22,6 @@ AP_FAST_BUILD=	yes
 AP_GENPLIST=	yes
 SRC_FILE=	*.c
 
-
 AP_INC+=	${LOCALBASE}/include/home \
 		   	-I ${LOCALBASE}/include/php \
 			-I ${LOCALBASE}/include/php/Zend \
@@ -28,7 +29,7 @@ AP_INC+=	${LOCALBASE}/include/home \
 			-I ${LOCALBASE}/include/php/main
 AP_EXTRAS+=	-DHAVE_MOD_PHP_SUPPORT
 
-PORTDOCS=	ChangeLog AUTHORS README README.logs README.mod_suphp WARNING \
+PORTDOCS=	ChangeLog AUTHORS README README.logs README.mod_suphp \
 		README.phpopt THANKS WARNING WARNING.THREADS README.LDAP
 
 OPTIONS_DEFINE=	LDAP DBD ITK VDEBUG DOCS
@@ -38,7 +39,6 @@ DBD_DESC=	mod_dbd support
 ITK_DESC=	mpm-itk support (needs a specific apache)
 VDEBUG_DESC=	debug version (very verbose !)
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 ### mod_vhs options
@@ -67,12 +67,8 @@ AP_EXTRAS+=	-DVH_DEBUG
 .endif
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}/
-.for f in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 # TODO :
 #   Add suphp support



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403091355.s29DtK8q070960>