aboutsummaryrefslogtreecommitdiffstats
path: root/java/jsdk/Makefile
blob: 38f2daf3ac422c336b806756bb992daaeb259070 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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>
#
# $Id: Makefile,v 1.3 1999/06/28 15:58:33 shige Exp $
#

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
NO_BUILD=   yes

do-fetch:
    @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
      ${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} "=========================================================="; \
     fi

do-install:
    ${MKDIR} ${PREFIX}/JSDK2.0
    (cd ${WRKSRC} && tar -c -f - .) \
        | (cd ${PREFIX}/JSDK2.0 && tar fx -)

.include <bsd.port.mk>