1999-12-31 20:26:28 +00:00
|
|
|
# New ports collection makefile for: gnujsp
|
|
|
|
# Version required: 0.9.10
|
|
|
|
# Date created: 1999-07-15
|
1999-12-31 20:27:06 +00:00
|
|
|
# Whom: Palle Girgensohn <girgen@partitur.se>
|
1999-12-31 20:26:28 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-01-05 01:41:27 +00:00
|
|
|
DISTNAME= gnujsp-1.0.0
|
1999-12-31 20:26:28 +00:00
|
|
|
CATEGORIES= www java
|
2000-01-05 01:41:27 +00:00
|
|
|
MASTER_SITES= http://www.klomp.org/gnujsp/downloads/
|
1999-12-31 20:26:28 +00:00
|
|
|
|
|
|
|
MAINTAINER= girgen@partitur.se
|
|
|
|
|
2000-01-05 01:41:27 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/mod_jserv.so:${PORTSDIR}/www/apache-jserv
|
1999-12-31 20:26:28 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
PKGMESSAGE= ${WRKDIR}/MESSAGE
|
|
|
|
|
2000-01-05 01:41:27 +00:00
|
|
|
NO_BUILD= yes # use the prebuilt jar files
|
|
|
|
|
1999-12-31 20:26:28 +00:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/java/classes
|
2000-01-05 01:41:27 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/gnujsp10.jar ${WRKSRC}/lib/servlet-2.0-plus.jar \
|
|
|
|
${PREFIX}/share/java/classes
|
1999-12-31 20:26:28 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-01-05 01:41:27 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/gnujsp
|
1999-12-31 20:26:28 +00:00
|
|
|
@ cd ${WRKSRC}/examples ;\
|
2000-01-05 01:41:27 +00:00
|
|
|
${INSTALL_DATA} date.jsp snoop.jsp hello.jsp ${PREFIX}/share/examples/gnujsp
|
1999-12-31 20:26:28 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/gnujsp
|
2000-01-05 01:41:27 +00:00
|
|
|
.for file in CHANGES FAQ INSTALL.apache INSTALL.vqserver INSTALL.jigsaw README install.html
|
1999-12-31 20:26:28 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gnujsp
|
|
|
|
.endfor
|
2000-01-05 01:41:27 +00:00
|
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${FILESDIR}/gnujsp.properties.in > \
|
|
|
|
${PREFIX}/share/doc/gnujsp/gnujsp.properties
|
1999-12-31 20:26:28 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/MESSAGE > ${PKGMESSAGE}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|