diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-06-03 13:54:48 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-06-03 13:54:48 +0800 |
commit | d82705d80262270feeed836373bbfc4a06f92fbd (patch) | |
tree | 3dfd2620631984722b087038189619e2013e6b59 /devel/smc | |
parent | 330813eecba48f41307dd0b77b777a35136777e4 (diff) | |
download | freebsd-ports-gnome-d82705d80262270feeed836373bbfc4a06f92fbd.tar.gz freebsd-ports-gnome-d82705d80262270feeed836373bbfc4a06f92fbd.tar.zst freebsd-ports-gnome-d82705d80262270feeed836373bbfc4a06f92fbd.zip |
add smc 3.0.0
The State Machine Compiler
Diffstat (limited to 'devel/smc')
-rw-r--r-- | devel/smc/Makefile | 37 | ||||
-rw-r--r-- | devel/smc/distinfo | 2 | ||||
-rw-r--r-- | devel/smc/pkg-descr | 5 | ||||
-rw-r--r-- | devel/smc/pkg-plist | 6 |
4 files changed, 50 insertions, 0 deletions
diff --git a/devel/smc/Makefile b/devel/smc/Makefile new file mode 100644 index 000000000000..464e912e9a8f --- /dev/null +++ b/devel/smc/Makefile @@ -0,0 +1,37 @@ +# ex:ts=8 +# Ports collection makefile for: smc +# Date created: Jun 3, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= smc +PORTVERSION= 3.0.0 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g} +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= The State Machine Compiler + +USE_JAVA= 1.4+ +NO_BUILD= yes + +do-install: + ${INSTALL_DATA} ${WRKSRC}/bin/Smc.jar ${JAVAJARDIR} + ${INSTALL_DATA} ${WRKSRC}/lib/statemap.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lib/statemap.jar ${JAVAJARDIR} + ${CP} -R ${WRKSRC}/lib/statemap1.0 ${PREFIX}/include +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} + @${FIND} ${EXAMPLESDIR} ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +.endif + +.include <bsd.port.mk> diff --git a/devel/smc/distinfo b/devel/smc/distinfo new file mode 100644 index 000000000000..a8fb5b1fcdd8 --- /dev/null +++ b/devel/smc/distinfo @@ -0,0 +1,2 @@ +MD5 (smc_3_0_0.tgz) = c6f2c7d7e69ddef063207053f36374cd +SIZE (smc_3_0_0.tgz) = 1351842 diff --git a/devel/smc/pkg-descr b/devel/smc/pkg-descr new file mode 100644 index 000000000000..a52d7c8aed77 --- /dev/null +++ b/devel/smc/pkg-descr @@ -0,0 +1,5 @@ +SMC takes a state machine stored in a .sm file and generates a State pattern +in C++, Java or [incr Tcl]. Includes: default transitions, transition args, +transition guards, push/pop transitions and Entry/Exit actions. + +WWW: http://smc.sourceforge.net/ diff --git a/devel/smc/pkg-plist b/devel/smc/pkg-plist new file mode 100644 index 000000000000..befb55c8ae07 --- /dev/null +++ b/devel/smc/pkg-plist @@ -0,0 +1,6 @@ +include/statemap.h +include/statemap1.0/pkgIndex.tcl +include/statemap1.0/statemap.tcl +@dirrm include/statemap1.0 +share/java/classes/Smc.jar +share/java/classes/statemap.jar |