summaryrefslogtreecommitdiff
path: root/textproc/metauml
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-08-16 21:50:38 +0000
committerminskim <minskim@pkgsrc.org>2009-08-16 21:50:38 +0000
commitb9d5478d4f9c940d7c3eab507a814c8898078701 (patch)
tree4c8b983cc3fbcd053199a45ab3c6b0805ad50a8f /textproc/metauml
parentc4635aa72e4dd559c5b32b582bb90ce4e69660e3 (diff)
downloadpkgsrc-b9d5478d4f9c940d7c3eab507a814c8898078701.tar.gz
Let textproc/metauml use kpathsea/texmf.mk instead of teTeX/module.mk;
the latter is deprecated.
Diffstat (limited to 'textproc/metauml')
-rw-r--r--textproc/metauml/Makefile12
-rw-r--r--textproc/metauml/PLIST68
2 files changed, 41 insertions, 39 deletions
diff --git a/textproc/metauml/Makefile b/textproc/metauml/Makefile
index 0670efcec26..e415872e556 100644
--- a/textproc/metauml/Makefile
+++ b/textproc/metauml/Makefile
@@ -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 @@ PKG_DESTDIR_SUPPORT= user-destdir
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 --git a/textproc/metauml/PLIST b/textproc/metauml/PLIST
index b20d791eb4c..33c618367af 100644
--- a/textproc/metauml/PLIST
+++ b/textproc/metauml/PLIST
@@ -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