freebsd-ports/devel/smc/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

40 lines
976 B
Makefile

# ex:ts=8
# Ports collection makefile for: smc
# Date created: Jun 3, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= smc
PORTVERSION= 4.3.0
PORTREVISION= 2
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= yes
JAVA_VERSION= 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>