summaryrefslogtreecommitdiffstats
path: root/java/cos/Makefile
blob: bbfe46f009f9f2138ee8f5892bbc41e7ad30f636 (plain)
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
# New ports collection makefile for:	cos
# Date created:		1999/07/05
# Whom:			Jose Marques <noway@nohow.demon.co.uk>
#
# $FreeBSD$
#

PORTNAME=	cos
PORTVERSION=	19Jun2001
CATEGORIES=	java
MASTER_SITES=	http://www.servlets.com/cos/

MAINTAINER=	noway@nohow.demon.co.uk

RUN_DEPENDS=	${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
		${LOCALBASE}/bin/servletrunner:${PORTSDIR}/java/jsdk

USE_ZIP=	yes
NO_WRKSUBDIR=	yes
JDK_VERSION=	1.1.8
NO_BUILD=	yes
RESTRICTED=	"Special conditions apply for commercial use, see licence"

do-install:
	@${MKDIR} ${PREFIX}/share/java/classes ${PREFIX}/share/java/cos
	@${INSTALL_DATA} ${WRKSRC}/lib/cos.jar ${PREFIX}/share/java/classes
	@cd ${WRKSRC}; \
	  ${CP} readme.html ${PREFIX}/share/java/cos; \
	  ${CP} license.html ${PREFIX}/share/java/cos; \
	  ${CP} -R doc ${PREFIX}/share/java/cos; \
	  ${CP} upload.war ${PREFIX}/share/java/cos/doc

.include <bsd.port.mk>
OpenPOWER on IntegriCloud