summaryrefslogtreecommitdiff
path: root/sysutils/jtopen/Makefile
blob: dd4b44084fa503e2a98d76d6f67b2a816500fd99 (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
# 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=	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

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>