diff --git a/textproc/Makefile b/textproc/Makefile index c75866ba6a74..53ba28853d7c 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -297,6 +297,7 @@ SUBDIR += mathml-xsd SUBDIR += meld SUBDIR += metaf2xml + SUBDIR += metauml SUBDIR += mgdiff SUBDIR += mguesser SUBDIR += mi-aspell diff --git a/textproc/metauml/Makefile b/textproc/metauml/Makefile new file mode 100644 index 000000000000..15c3c018bb5c --- /dev/null +++ b/textproc/metauml/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: metauml +# Date created: 2007-08-29 +# Whom: TAKATSU Tomonari +# +# $FreeBSD$ +# + +PORTNAME= metauml +PORTVERSION= 0.2.5 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}_lib_${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= tota@rtfm.jp +COMMENT= A MetaPost library for typesetting UML diagrams + +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base + +WRKSRC= ${WRKDIR}/${PORTNAME}_lib + +PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} MPDIR=${MPDIR} + +TEXMFDIR= share/texmf +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +MPDIR= ${TEXMFDIR}/metapost/${PORTNAME} + +NO_BUILD= yes + +do-install: + ${MKDIR} ${PREFIX}/${MPDIR} + ${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${PREFIX}/${MPDIR} + +post-install: + ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} + +.include diff --git a/textproc/metauml/distinfo b/textproc/metauml/distinfo new file mode 100644 index 000000000000..c34fbe7913ee --- /dev/null +++ b/textproc/metauml/distinfo @@ -0,0 +1,3 @@ +MD5 (metauml_lib_0.2.5.tgz) = 3dabc2acafe41d19e5fc24a25dc0972a +SHA256 (metauml_lib_0.2.5.tgz) = ae43c06977dbd9ae579bdc04cdc809af4cd81a733f3f7282145ca34a4da04052 +SIZE (metauml_lib_0.2.5.tgz) = 35462 diff --git a/textproc/metauml/pkg-descr b/textproc/metauml/pkg-descr new file mode 100644 index 000000000000..8743ac2c6a1d --- /dev/null +++ b/textproc/metauml/pkg-descr @@ -0,0 +1,10 @@ +MetaUML is a GNU GPL MetaPost library for typesetting UML diagrams, +using a human-friendly textual notation. + +Here's what you can do with MetaUML (also see the FAQ): + + * Create UML diagrams readily usable in a LaTeX article or book. + * Create independent PDF-s + * Create jpeg-s, png-s etc. + +WWW: http://metauml.sourceforge.net/ diff --git a/textproc/metauml/pkg-plist b/textproc/metauml/pkg-plist new file mode 100644 index 000000000000..718bf621ae3a --- /dev/null +++ b/textproc/metauml/pkg-plist @@ -0,0 +1,36 @@ +%%MPDIR%%/metauml.mp +%%MPDIR%%/metauml_activity.mp +%%MPDIR%%/metauml_base.mp +%%MPDIR%%/metauml_behavioral_common.mp +%%MPDIR%%/metauml_class.mp +%%MPDIR%%/metauml_class_assoc.mp +%%MPDIR%%/metauml_class_clipart.mp +%%MPDIR%%/metauml_class_relations.mp +%%MPDIR%%/metauml_component.mp +%%MPDIR%%/metauml_component_relations.mp +%%MPDIR%%/metauml_defaults.mp +%%MPDIR%%/metauml_instance.mp +%%MPDIR%%/metauml_links.mp +%%MPDIR%%/metauml_note.mp +%%MPDIR%%/metauml_package.mp +%%MPDIR%%/metauml_package_relations.mp +%%MPDIR%%/metauml_paths.mp +%%MPDIR%%/metauml_skin_simple.mp +%%MPDIR%%/metauml_state.mp +%%MPDIR%%/metauml_stereotype.mp +%%MPDIR%%/metauml_templates.mp +%%MPDIR%%/metauml_usecase.mp +%%MPDIR%%/metauml_usecase_clipart.mp +%%MPDIR%%/util_commons.mp +%%MPDIR%%/util_group.mp +%%MPDIR%%/util_infrastructure.mp +%%MPDIR%%/util_log.mp +%%MPDIR%%/util_margins.mp +%%MPDIR%%/util_object.mp +%%MPDIR%%/util_picture.mp +%%MPDIR%%/util_picture_stack.mp +%%MPDIR%%/util_positioning.mp +%%MPDIR%%/util_shade.mp +@dirrm %%MPDIR%% +@exec %%MKTEXLSR%% %D/%%TEXMFDIR%% +@unexec %%MKTEXLSR%% %D/%%TEXMFDIR%%