summaryrefslogtreecommitdiffstats
path: root/editors/xxe/Makefile
blob: 52698019585caf600dd27c29df2049ad3498a77b (plain)
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
44
# New ports collection makefile for:	xxe
# Date created:		19 February 2005
# Whom:			Bill Fenner
#
# $FreeBSD$
#

PORTNAME=	xxe
PORTVERSION=	${XXE_VERSION}
CATEGORIES=	editors java
MASTER_SITES=	http://www.xmlmind.net/xmleditor/_download/
PKGNAMESUFFIX=	-std
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION:S/./_/g}

MAINTAINER=	fenner@FreeBSD.Org
COMMENT=	A validating XML editor featuring a word processor-like view

USE_JAVA=	YES
JAVA_VERSION=	1.5
NO_BUILD=	YES

RESTRICTED=	"Licensee may not distribute the Software"

BINS=		convertdoc csscheck deploywebstart dtdtoxsd dtdvalid \
		rngvalid schvalid xsdvalid xxe

PLIST_SUB=	XXE=${XXE_DIR}

post-extract:
		@${SED} -e 's,%%JAVA_HOME%%,${JAVA_HOME},' \
			-e 's,%%PREFIX%%,${PREFIX},' \
			-e 's,%%DISTNAME%%,${DISTNAME},' \
			${FILESDIR}/launcher > ${WRKDIR}/xxe

do-install:
		@cd ${WRKDIR} && tar cf - ${DISTNAME} | \
				 tar -C ${PREFIX}/lib -xf -
.for f in ${BINS}
		@${INSTALL_SCRIPT} ${WRKDIR}/xxe ${PREFIX}/bin/${f}
.endfor

.include "Makefile.inc"

.include <bsd.port.mk>
OpenPOWER on IntegriCloud