aboutsummaryrefslogtreecommitdiff
path: root/math/jlatexmath/Makefile
blob: 8fdc662eb723df1eb71d6b579dd03b7982698349 (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
# New ports collection makefile for:	jlatexmath
# Date created:				11 February 2010
# Whom:					rfarmer@predatorlabs.net
#
# $FreeBSD$
#

PORTNAME=	jlatexmath
PORTVERSION=	0.8.9
CATEGORIES=	math java
MASTER_SITES=	http://forge.scilab.org/upload/jlatexmath/files/ \
		http://www.predatorlabs.net/dl/
DISTNAME=	${PORTNAME}-src-all-${PORTVERSION}
EXTRACT_SUFX=	.jar

MAINTAINER=	rfarmer@predatorlabs.net
COMMENT=	Java API to display mathematical formulas written in LaTeX

USE_JAVA=	yes
JAVA_VERSION=	1.5+
JAVA_BUILD=	yes
JAVA_RUN=	yes
USE_ANT=	yes

NO_WRKSUBDIR=	yes

do-install:
	${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-0.8.9.jar ${JAVAJARDIR}
.if !defined(NOPORTDOCS)
	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>