summaryrefslogblamecommitdiff
path: root/www/apache-jserv/Makefile
blob: 39826791a8d93235186ea8a92221ef8c7c61aa0c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        


                                                            
           
 
 

                            

                                                  
                               


                                   





                                                                              
 
                   

                                              
                                   


                                                         
                                                  
                                                   




                                                                     
                              

                                        





                                                   

             


                                 
# New ports collection makefile for:	apache mod_jserv
# Date created:         1999/05/29
# Whom:			Kensaku Masuda <greg@greg.rim.or.jp>
#
# $FreeBSD$
#

PORTNAME=	apache-jserv
PORTVERSION= 	1.1
CATEGORIES=	www java
MASTER_SITES=	http://java.apache.org/jserv/dist/
DISTNAME=	ApacheJServ-1.1

MAINTAINER=	greg@greg.rim.or.jp

BUILD_DEPENDS=	${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk\
		${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
		${LOCALBASE}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
RUN_DEPENDS=	${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk\
		${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
		${LOCALBASE}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk

USE_LIBTOOL=	yes
USE_GMAKE=	yes
CONFIGURE_ENV=	MAKE=${LOCALBASE}/bin/${GMAKE}
CONFIGURE_ARGS=	--prefix=${PREFIX}\
		--libexecdir=${LOCALBASE}/libexec/apache\
		--libdir=${LOCALBASE}/libexec/apache\
		--with-logdir=/var/log\
		--sysconfdir=${PREFIX}/etc/apache\
		--with-apxs=${LOCALBASE}/sbin/apxs\
		--with-jdk-home=${LOCALBASE}/jdk1.1.8\
		--with-JSDK=${LOCALBASE}/share/java/classes/jsdk.jar\
		--with-java=${LOCALBASE}/jdk1.1.8/bin/java\
		--with-javac=${LOCALBASE}/jdk1.1.8/bin/javac\
		--with-servlets=${PREFIX}/share/java/servlets\
		--with-gnu-ld\
		--enable-compressed-jar\
		--enable-EAPI
.if defined (USE_JIKES)
CONFIGURE_ARGS+=--with-javac=${LOCALBASE}/bin/jikes
.endif

pre-install:
	${MKDIR} ${PREFIX}/share/java/classes

post-install:
	@${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>