summaryrefslogtreecommitdiff
path: root/textproc/lotusxsl/Makefile
blob: 11d100fb279f5f2701d44a562c66b5dbed8cddf7 (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
# New ports collection makefile for:	LotusXSL
# Version required:	0.17.4
# Date created:		23 June 1999
# Whom:			Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=	lotusxsl_0_17_4
PKGNAME=	lotusxsl-0.17.4
CATEGORIES=	textproc
MASTER_SITES=	http://www.alphaworks.ibm.com/formula/lotusxsl/
#MASTER_SITES=	http://apps.alphaworks.ibm.com/technologies/lotusxsl/
EXTRACT_SUFX=	.zip

MAINTAINER=	kuriyama@FreeBSD.org

BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
RUN_DEPENDS=	${PREFIX}/share/java/classes/xml4j.jar:${PORTSDIR}/textproc/xml4j

EXTRACT_CMD=		unzip
EXTRACT_BEFORE_ARGS=	-a -q -L
EXTRACT_AFTER_ARGS=	# empty
RESTRICTED=		"License prohibites to distribute."

DIR=		${PREFIX}/share/java

do-build:
	${SED} -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/lotusxsl.sh > ${WRKSRC}/lotusxsl

do-install:
	${MKDIR} ${DIR}/classes ${DIR}/LotusXSL
	(cd ${WRKSRC};\
	 ${INSTALL_DATA} js.jar lotusxsl.jar ${DIR}/classes;\
	 ${CP} -R apidocs examples images readme_production samples testsuite *.htm? run* xsl-html40s.dtd ${DIR}/LotusXSL;\
	 ${INSTALL_SCRIPT} ${WRKSRC}/lotusxsl ${PREFIX}/bin)

.include <bsd.port.mk>