aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/lotusxsl/Makefile
blob: 799468f8611ea6cd004e12ffbda3735b9de05785 (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
# Date created:     23 June 1999
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   lotusxsl
PORTVERSION=    0.18.4
CATEGORIES= textproc
MASTER_SITES=   http://www.alphaworks.ibm.com/formula/lotusxsl/
#MASTER_SITES=  http://apps.alphaworks.ibm.com/technologies/lotusxsl/
DISTNAME=   ${PORTNAME}_0_18_4
EXTRACT_SUFX=   .zip

MAINTAINER= kuriyama@FreeBSD.org

BUILD_DEPENDS=  unzip:${PORTSDIR}/archivers/unzip
RUN_DEPENDS=    ${LOCALBASE}/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 lotusxslbsf.jar ${DIR}/classes;\
     ${CP} -R apidocs examples images readme_production *.htm? run* ${DIR}/LotusXSL;\
     ${INSTALL_SCRIPT} ${WRKSRC}/lotusxsl ${PREFIX}/bin)

.include <bsd.port.mk>