aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/jtopen/Makefile
blob: 969d704078cbf62bc15ad6f243aa22577610a1bb (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
# Created by: Marcin Cieslak <saper@SYSTEM.PL>
# $FreeBSD$

PORTNAME=   jtopen
PORTVERSION=    6.2
CATEGORIES= sysutils java
MASTER_SITES=   SF/jt400/JTOpen-full/${PORTVERSION}
DISTNAME=   ${PORTNAME}_${PORTVERSION:S/./_/}

MAINTAINER= saper@saper.info
COMMENT=    JTOpen is a Java library to access OS/400 or i5/OS system

LICENSE=    IBMPL10
LICENSE_NAME=   IBM Public License 1.0
LICENSE_FILE=   ${FILESDIR}/IBMPL10
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=       zip
NO_WRKSUBDIR=   yes
USE_JAVA=   yes

NO_BUILD=   yes

JAR_FILES=  composer.jar jt400.jar jt400Proxy.jar jt400Servlet.jar jui400.jar \
        outputwriters.jar reportwriter.jar tes.jar uitools.jar util400.jar
DOC_FILES=  changes.html license.html readme.html

OPTIONS_DEFINE= DOCS

do-install:
.for i in ${JAR_FILES}
    ${INSTALL_DATA} ${WRKSRC}/lib/${i} ${STAGEDIR}${JAVAJARDIR}
.endfor
    ${MKDIR} ${STAGEDIR}/${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>