mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
e53017e5e2
PR: 15793 Submitted by: Jose Marques <noway@nohow.demon.co.uk>
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# New ports collection makefile for: Java Servlet Developpers Kit
|
|
# Version required: 2.0
|
|
# Date created: 1999/05/29
|
|
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= jsdk20-solaris2-sparc
|
|
PKGNAME= jsdk-2.0
|
|
CATEGORIES= java
|
|
MASTER_SITES=
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= greg@greg.rim.or.jp
|
|
|
|
RUN_DEPENDS= ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
|
|
|
|
NO_CDROM= "Sun has a funky license for this software"
|
|
RESTRICTED= "no commercial use"
|
|
|
|
WRKSRC= ${WRKDIR}/JSDK2.0
|
|
|
|
do-fetch:
|
|
@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
|
|
${ECHO} "=========================================================="; \
|
|
${ECHO} " You must a fetch the Java Servlet Development Kit 2.0"; \
|
|
${ECHO} " (for Unix) archive from"; \
|
|
${ECHO} ""; \
|
|
${ECHO} " http://java.sun.com/products/servlet/download.html"; \
|
|
${ECHO} ""; \
|
|
${ECHO} " And copy into ${DISTDIR}"; \
|
|
${ECHO} "=========================================================="; \
|
|
fi
|
|
|
|
do-build:
|
|
@${SED} -e s,%%PREFIX%%,${PREFIX},g \
|
|
${WRKSRC}/bin/servletrunner > ${WRKDIR}/servletrunner
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/share/java/classes ${PREFIX}/share/java/jsdk20
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/servletrunner ${PREFIX}/bin
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/jsdk.jar ${PREFIX}/share/java/classes
|
|
@cd ${WRKSRC}; \
|
|
${CP} -R [Rde]* ${PREFIX}/share/java/jsdk20
|
|
|
|
.include <bsd.port.mk>
|