summaryrefslogblamecommitdiff
path: root/www/mod_vhs/Makefile
blob: b7c83c1ea1c09093ed3006d8b6df071b877da803 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                       
                      

                                                    
                       





                                                                                  
                   


                   


                   




                                                                                       



                                         
                                                                                                                                                                     
 
                                                                        
                             

                          
                                                        









                                                  
# New ports collection makefile for:	mod_vhs
# Date created:				Sun Jul 25 2004
# Whom:					Xavier Beaudouin <kiwi@oav.net>
#
# $FreeBSD$
#

PORTNAME=	mod_vhs
PORTVERSION=	1.0.30
CATEGORIES=	www
MASTER_SITES=	http://www.oav.net/projects/mod_vhs/
DIST_SUBDIR=	apache2

MAINTAINER=	kiwi@oav.net
COMMENT=	Allows mass virtual hosting using libhome system with Apache 2.0.x

LIB_DEPENDS+=	home:${PORTSDIR}/misc/libhome

WITH_APACHE2=	yes
USE_PHP=	yes
USE_PHP_BUILD=	yes
WANT_PHP_MOD=	yes
WANT_APACHE=	2
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES

.if defined(PACKAGE_BUILDING)
IGNORE=		This port cannot be build as package because lang/php4 requires apache2
.endif

WRKSRC=		${WRKDIR}/${PORTNAME}

AP_INC+=	${LOCALBASE}/include/home
AP_LIB+=	${LOCALBASE}/lib -lhome
AP_EXTRAS+=	-I ${LOCALBASE}/include/php -I ${LOCALBASE}/include/php/Zend -I ${LOCALBASE}/include/php/TSRM -I ${LOCALBASE}/include/php/main -DHAVE_MOD_PHP_SUPPORT

PORTDOCS=	ChangeLog AUTHORS README.logs README.wildcards WARNING \
		README.phpopt

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"

post-install:
.if !defined (NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.   for f in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.   endfor
.endif

.include <bsd.port.post.mk>