pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/metauml Let textproc/metauml use kpathsea/tex...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1a9af7e0cc2
branches:  trunk
changeset: 397644:a1a9af7e0cc2
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Aug 16 21:50:38 2009 +0000

description:
Let textproc/metauml use kpathsea/texmf.mk instead of teTeX/module.mk;
the latter is deprecated.

diffstat:

 textproc/metauml/Makefile |  12 ++++---
 textproc/metauml/PLIST    |  68 +++++++++++++++++++++++-----------------------
 2 files changed, 41 insertions(+), 39 deletions(-)

diffs (104 lines):

diff -r 994e87867b19 -r a1a9af7e0cc2 textproc/metauml/Makefile
--- a/textproc/metauml/Makefile Sun Aug 16 21:46:55 2009 +0000
+++ b/textproc/metauml/Makefile Sun Aug 16 21:50:38 2009 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2009/07/07 21:08:34 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2009/08/16 21:50:38 minskim Exp $
 #
 
 DISTNAME=      metauml_lib_0.2.5
 PKGNAME=       ${DISTNAME:S/_lib_/-/}
+PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=metauml/}
 EXTRACT_SUFX=  .tgz
@@ -15,12 +16,13 @@
 
 NO_BUILD=      yes
 WRKSRC=                ${WRKDIR}/${PKGBASE}_lib
-MPDIR=         ${PKG_LOCALTEXMFPREFIX}/metapost/${PKGBASE}
-PLIST_SUBST+=  MPDIR=${MPDIR:C|^${PREFIX}/||}
+MPDIR=         share/texmf-dist/metapost/${PKGBASE}
+
 INSTALLATION_DIRS+=    ${MPDIR}
 
+.include "../../print/kpathsea/texmf.mk"
+
 do-install:
-       ${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${DESTDIR}${MPDIR}
+       ${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${DESTDIR}${PREFIX}/${MPDIR}
 
-.include "../../print/teTeX/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 994e87867b19 -r a1a9af7e0cc2 textproc/metauml/PLIST
--- a/textproc/metauml/PLIST    Sun Aug 16 21:46:55 2009 +0000
+++ b/textproc/metauml/PLIST    Sun Aug 16 21:50:38 2009 +0000
@@ -1,34 +1,34 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:17:22 joerg Exp $
-${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
+@comment $NetBSD: PLIST,v 1.3 2009/08/16 21:50:38 minskim Exp $
+share/texmf-dist/metapost/metauml/metauml.mp
+share/texmf-dist/metapost/metauml/metauml_activity.mp
+share/texmf-dist/metapost/metauml/metauml_base.mp
+share/texmf-dist/metapost/metauml/metauml_behavioral_common.mp
+share/texmf-dist/metapost/metauml/metauml_class.mp
+share/texmf-dist/metapost/metauml/metauml_class_assoc.mp
+share/texmf-dist/metapost/metauml/metauml_class_clipart.mp
+share/texmf-dist/metapost/metauml/metauml_class_relations.mp
+share/texmf-dist/metapost/metauml/metauml_component.mp
+share/texmf-dist/metapost/metauml/metauml_component_relations.mp
+share/texmf-dist/metapost/metauml/metauml_defaults.mp
+share/texmf-dist/metapost/metauml/metauml_instance.mp
+share/texmf-dist/metapost/metauml/metauml_links.mp
+share/texmf-dist/metapost/metauml/metauml_note.mp
+share/texmf-dist/metapost/metauml/metauml_package.mp
+share/texmf-dist/metapost/metauml/metauml_package_relations.mp
+share/texmf-dist/metapost/metauml/metauml_paths.mp
+share/texmf-dist/metapost/metauml/metauml_skin_simple.mp
+share/texmf-dist/metapost/metauml/metauml_state.mp
+share/texmf-dist/metapost/metauml/metauml_stereotype.mp
+share/texmf-dist/metapost/metauml/metauml_templates.mp
+share/texmf-dist/metapost/metauml/metauml_usecase.mp
+share/texmf-dist/metapost/metauml/metauml_usecase_clipart.mp
+share/texmf-dist/metapost/metauml/util_commons.mp
+share/texmf-dist/metapost/metauml/util_group.mp
+share/texmf-dist/metapost/metauml/util_infrastructure.mp
+share/texmf-dist/metapost/metauml/util_log.mp
+share/texmf-dist/metapost/metauml/util_margins.mp
+share/texmf-dist/metapost/metauml/util_object.mp
+share/texmf-dist/metapost/metauml/util_picture.mp
+share/texmf-dist/metapost/metauml/util_picture_stack.mp
+share/texmf-dist/metapost/metauml/util_positioning.mp
+share/texmf-dist/metapost/metauml/util_shade.mp



Home | Main Index | Thread Index | Old Index