summaryrefslogtreecommitdiffstats
path: root/devel/smc/Makefile
blob: 47efdba7160dcd46b7d32f9ba80119b127e26dfb (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
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=	smc
PORTVERSION=	4.3.0
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	SF/${PORTNAME}/OldFiles
DISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/g}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The State Machine Compiler

USE_JAVA=	yes
JAVA_VERSION=	1.6+
NO_BUILD=	yes

PORTEXAMPLES=	*

OPTIONS_DEFINE=	EXAMPLES

do-install:
	${INSTALL_DATA} ${WRKSRC}/bin/Smc.jar ${STAGEDIR}${JAVAJARDIR}
	${INSTALL_DATA} ${WRKSRC}/lib/statemap.h ${STAGEDIR}${PREFIX}/include
	${INSTALL_DATA} ${WRKSRC}/lib/statemap.jar ${STAGEDIR}${JAVAJARDIR}
	${CP} -R ${WRKSRC}/lib/statemap1.0 ${STAGEDIR}${PREFIX}/include
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

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