1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/gnujsp/Makefile
Satoshi Asami 7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00

43 lines
1.2 KiB
Makefile

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