diff options
author | thierry <thierry@FreeBSD.org> | 2005-06-15 22:41:31 +0000 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-06-15 22:41:31 +0000 |
commit | 7f3b219da0069ae9dd105628704a68467d1d6632 (patch) | |
tree | 5be4b6d4bcfc4cb77461b40428efa8adab17ccfc /devel/bouml/Makefile | |
parent | 63ea0ca2f022be3071a945db45c7d8661b0e9d3b (diff) | |
download | FreeBSD-ports-7f3b219da0069ae9dd105628704a68467d1d6632.zip FreeBSD-ports-7f3b219da0069ae9dd105628704a68467d1d6632.tar.gz |
Add BOUML 2.2.2, a free UML tool box allowing you to specify and
generate code in C++, Java and Idl.
BOUML is extensible, and the external tools (named plug-outs) may
be developed in C++ or Java, using BOUML for their definition as
any other program. The code generators and reverses are ones of
the pre-defined plug-outs included in the BOUML distribution.
Diffstat (limited to 'devel/bouml/Makefile')
-rw-r--r-- | devel/bouml/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/devel/bouml/Makefile b/devel/bouml/Makefile new file mode 100644 index 0000000..333dd22 --- /dev/null +++ b/devel/bouml/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: bouml +# Date created: 14 June 2005 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ +# + +PORTNAME= bouml +PORTVERSION= 2.2.2 +CATEGORIES= devel +MASTER_SITES= http://bouml.free.fr/ +DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= BOUML, a free UML tool box + +BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake + +USE_QT_VER= 3 +QTDIR?= ${X11BASE} +USE_REINPLACE= yes +ALL_TARGET= compile +MAKE_ENV= QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++" \ + QTDIR="${QTDIR}" + +WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} + +.if !defined(NOPORTDOCS) +DISTFILES+= doc${EXTRACT_SUFX} +IGNOREFILES+= doc${EXTRACT_SUFX} +PORTDOCS= * +.endif + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= "Does not compile with gcc-2.95" +.endif + +pre-configure: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/${MAKEFILE} + ${FIND} ${WRKSRC} -name "*.pro" | \ + ${XARGS} ${REINPLACE_CMD} -e '/^CONFIG/s/$$/ thread/' + +post-install: + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} + ${FIND} ${DATADIR} -type f -perm 755 | ${XARGS} ${STRIP_CMD} +.if !defined(NOPORTDOCS) + cd ${WRKDIR}/doc && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; + @cd ${WRKDIR}/doc && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +.include <bsd.port.post.mk> |