diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2007-12-23 22:40:41 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2007-12-23 22:40:41 +0800 |
commit | 0bd70f0202dc22ffa328b45609937455edfb5bc5 (patch) | |
tree | 078cc1c6b63339d468a726bf067032d14b344e0c /textproc | |
parent | 5dd47f0779b3a80e3420d97185b18237057f1bf3 (diff) | |
download | freebsd-ports-gnome-0bd70f0202dc22ffa328b45609937455edfb5bc5.tar.gz freebsd-ports-gnome-0bd70f0202dc22ffa328b45609937455edfb5bc5.tar.zst freebsd-ports-gnome-0bd70f0202dc22ffa328b45609937455edfb5bc5.zip |
Install a manual and examples.
PR: ports/117715
Submitted by: TAKATSU Tomonari <tota@rtfm.jp> (maintainer)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/metauml/Makefile | 18 | ||||
-rw-r--r-- | textproc/metauml/distinfo | 12 | ||||
-rw-r--r-- | textproc/metauml/pkg-plist | 127 |
3 files changed, 150 insertions, 7 deletions
diff --git a/textproc/metauml/Makefile b/textproc/metauml/Makefile index 15c3c018bb5c..647d1b34b750 100644 --- a/textproc/metauml/Makefile +++ b/textproc/metauml/Makefile @@ -7,11 +7,13 @@ PORTNAME= metauml PORTVERSION= 0.2.5 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}_lib_${PORTVERSION} -EXTRACT_SUFX= .tgz +DISTFILES= ${PORTNAME}_lib_${PORTVERSION}.tgz ${PORTNAME}_manual_${PORTVERSION}.pdf lop-release.tgz +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${PORTNAME}_lib_${PORTVERSION}.tgz lop-release.tgz MAINTAINER= tota@rtfm.jp COMMENT= A MetaPost library for typesetting UML diagrams @@ -19,8 +21,6 @@ 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 @@ -28,10 +28,20 @@ MKTEXLSR= ${LOCALBASE}/bin/mktexlsr MPDIR= ${TEXMFDIR}/metapost/${PORTNAME} NO_BUILD= yes +WRKSRC= ${WRKDIR}/${PORTNAME}_lib +EXAMPLES= *.1 *.jpg *.mp lop lop.html lop.pdf lop.tex do-install: ${MKDIR} ${PREFIX}/${MPDIR} ${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${PREFIX}/${MPDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}_manual_${PORTVERSION}.pdf ${DOCSDIR} + ${MKDIR} ${EXAMPLESDIR} +.for example in ${EXAMPLES} + ${INSTALL_DATA} ${WRKDIR}/${example} ${EXAMPLESDIR} +.endfor +.endif post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} diff --git a/textproc/metauml/distinfo b/textproc/metauml/distinfo index c34fbe7913ee..aa4086c298e2 100644 --- a/textproc/metauml/distinfo +++ b/textproc/metauml/distinfo @@ -1,3 +1,9 @@ -MD5 (metauml_lib_0.2.5.tgz) = 3dabc2acafe41d19e5fc24a25dc0972a -SHA256 (metauml_lib_0.2.5.tgz) = ae43c06977dbd9ae579bdc04cdc809af4cd81a733f3f7282145ca34a4da04052 -SIZE (metauml_lib_0.2.5.tgz) = 35462 +MD5 (metauml/metauml_lib_0.2.5.tgz) = 3dabc2acafe41d19e5fc24a25dc0972a +SHA256 (metauml/metauml_lib_0.2.5.tgz) = ae43c06977dbd9ae579bdc04cdc809af4cd81a733f3f7282145ca34a4da04052 +SIZE (metauml/metauml_lib_0.2.5.tgz) = 35462 +MD5 (metauml/metauml_manual_0.2.5.pdf) = f7c3312e020620ae82d4305642aee623 +SHA256 (metauml/metauml_manual_0.2.5.pdf) = 6e3b197c229563ada8370063944f885def5beeea1600b8bf4891554f88343ca8 +SIZE (metauml/metauml_manual_0.2.5.pdf) = 408450 +MD5 (metauml/lop-release.tgz) = e51f918c1d7d840e1fa632dda6db293b +SHA256 (metauml/lop-release.tgz) = 9961d4d02213c553291c6d46df139e7d97ece3b1356fbbf48b15e8e1afec1b7a +SIZE (metauml/lop-release.tgz) = 996477 diff --git a/textproc/metauml/pkg-plist b/textproc/metauml/pkg-plist index 718bf621ae3a..835896f7267d 100644 --- a/textproc/metauml/pkg-plist +++ b/textproc/metauml/pkg-plist @@ -32,5 +32,132 @@ %%MPDIR%%/util_positioning.mp %%MPDIR%%/util_shade.mp @dirrm %%MPDIR%% +%%PORTDOCS%%%%DOCSDIR%%/metauml_manual_0.2.5.pdf +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%EXAMPLESDIR%%/AbstractFactory.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/AbstractFactory.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/AbstractFactory.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Adapter1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Adapter1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Adapter1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Adapter2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Adapter2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Adapter2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge3.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge3.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Bridge3.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Builder1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Builder1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Builder1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Builder2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Builder2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Builder2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Chain1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Chain1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Chain1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Chain2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Chain2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Chain2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Command1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Command1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Command1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Command2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Command2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Command2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Command3.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Command3.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Command3.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Composite.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Composite.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Composite.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Decorator.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Decorator.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Decorator.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/FactoryMethod1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/FactoryMethod1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/FactoryMethod1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/FactoryMethod2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/FactoryMethod2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/FactoryMethod2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Flyweight1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Flyweight1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Flyweight1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Flyweight2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Flyweight2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Flyweight2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator3.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator3.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Iterator3.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator3.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator3.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Mediator3.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Memento.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Memento.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Memento.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Observer.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Observer.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Observer.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Prototype.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Prototype.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Prototype.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Proxy.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Proxy.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Proxy.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Singleton.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Singleton.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Singleton.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/State1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/State1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/State1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/State2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/State2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/State2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Strategy1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Strategy1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Strategy1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Strategy2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Strategy2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Strategy2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/TemplateMethod1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/TemplateMethod1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/TemplateMethod1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/TemplateMethod2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/TemplateMethod2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/TemplateMethod2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor1.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor1.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor1.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor2.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor2.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor2.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor3.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor3.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor3.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor4.1 +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor4.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Visitor4.mp +%%PORTDOCS%%%%EXAMPLESDIR%%/lop +%%PORTDOCS%%%%EXAMPLESDIR%%/lop.html +%%PORTDOCS%%%%EXAMPLESDIR%%/lop.pdf +%%PORTDOCS%%%%EXAMPLESDIR%%/lop.tex +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% @exec %%MKTEXLSR%% %D/%%TEXMFDIR%% @unexec %%MKTEXLSR%% %D/%%TEXMFDIR%% |