aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/jtopen/Makefile
blob: 88ea2b57c237a1f72fcba33ef9eeb3be58dd9910 (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
40
41
42
43
# New ports collection makefile for:    jtopen
# Date created:     2008-06-13
# Whom:         Marcin Cieslak <saper@SYSTEM.PL>
#
# $FreeBSD$
#

PORTNAME=   jtopen
PORTVERSION=    6.2
CATEGORIES= sysutils java
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jt400
DISTNAME=   ${PORTNAME}_${PORTVERSION:S/./_/}

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

USE_ZIP=    yes
NO_WRKSUBDIR=   yes
USE_JAVA=   1.4+

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

.include <bsd.port.pre.mk>

do-install:
.for i in ${JAR_FILES}
    ${INSTALL_DATA} ${WRKSRC}/lib/${i} ${JAVAJARDIR}
.endfor

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for d in ${DOC_FILES}
    ${INSTALL_MAN} ${WRKSRC}/${d} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>