aboutsummaryrefslogtreecommitdiffstats
path: root/java/cos/Makefile
blob: 6b0d6bb592b888f7936a4d34d83c8c4338694b75 (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
# Created by: Jose Marques <noway@nohow.demon.co.uk>
# $FreeBSD$

PORTNAME=   cos
PORTVERSION=    2002.11.05
PORTREVISION=   3
PORTEPOCH=  1
CATEGORIES= java devel
MASTER_SITES=   http://www.servlets.com/cos/ \
        http://www.oreilly.com.tw/bookcode/
DISTNAME=   ${PORTNAME}-05Nov2002

MAINTAINER= java@FreeBSD.org
COMMENT=    The O'Reilly package of utility classes for servlet developers

NO_WRKSUBDIR=   yes
USES=       zip
USE_JAVA=   yes
NO_BUILD=   yes
RESTRICTED= Special conditions apply for commercial use, see licence
DATAFILES=  readme.txt license.txt doc
DATADIR=    ${JAVASHAREDIR}/${PORTNAME}

do-install:
    @${INSTALL_DATA} ${WRKSRC}/lib/cos.jar ${STAGEDIR}${JAVAJARDIR}
    @cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATAFILES}" ${STAGEDIR}${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/upload.war ${STAGEDIR}${DATADIR}/doc

.include <bsd.port.mk>