1999-06-23 15:05:40 +00:00
|
|
|
# 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>
|
|
|
|
#
|
1999-06-30 22:04:56 +00:00
|
|
|
# $Id: Makefile,v 1.4 1999/06/28 18:34:03 billf Exp $
|
1999-06-23 15:05:40 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= jsdk20-solaris2-sparc
|
|
|
|
PKGNAME= jsdk-2.0
|
1999-06-28 02:24:57 +00:00
|
|
|
CATEGORIES= java
|
1999-06-23 15:05:40 +00:00
|
|
|
MASTER_SITES=
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
|
|
|
MAINTAINER= greg@greg.rim.or.jp
|
|
|
|
|
1999-06-28 18:34:12 +00:00
|
|
|
RUN_DEPENDS= ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
|
1999-06-23 15:05:40 +00:00
|
|
|
|
|
|
|
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 \
|
1999-06-28 15:58:33 +00:00
|
|
|
${ECHO_MSG} "=========================================================="; \
|
|
|
|
${ECHO_MSG} "You must retriving a archive from"; \
|
|
|
|
${ECHO_MSG} " http://java.sun.com/products/servlet/index.html"; \
|
|
|
|
${ECHO_MSG} "And copy into ${DISTDIR}"; \
|
|
|
|
${ECHO_MSG} "=========================================================="; \
|
1999-06-23 15:05:40 +00:00
|
|
|
fi
|
|
|
|
|
1999-06-30 22:04:56 +00:00
|
|
|
do-build:
|
|
|
|
@${SED} -e s,%%PREFIX%%,${PREFIX},g \
|
|
|
|
${WRKSRC}/bin/servletrunner > ${WRKDIR}/servletrunner
|
|
|
|
|
1999-06-23 15:05:40 +00:00
|
|
|
do-install:
|
1999-06-30 22:04:56 +00:00
|
|
|
@${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
|
1999-06-23 15:05:40 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|