summaryrefslogtreecommitdiff
path: root/textproc/metauml
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 21:08:34 +0000
committerjoerg <joerg>2009-07-07 21:08:34 +0000
commit8c7713112b8f3b0fdd73020c5f8ca5d6db083b32 (patch)
treec9a41b0911d2204f0ceb7e24df240249b710e648 /textproc/metauml
parent3b8f005706c7093f6387aaffda3ac6e35411c7b0 (diff)
downloadpkgsrc-8c7713112b8f3b0fdd73020c5f8ca5d6db083b32.tar.gz
user-destdir support
Diffstat (limited to 'textproc/metauml')
-rw-r--r--textproc/metauml/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/metauml/Makefile b/textproc/metauml/Makefile
index 1b3c09dc3bf..0670efcec26 100644
--- a/textproc/metauml/Makefile
+++ b/textproc/metauml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/02/01 20:41:37 tonio Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/07 21:08:34 joerg Exp $
#
DISTNAME= metauml_lib_0.2.5
@@ -11,6 +11,8 @@ MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://metauml.sourceforge.net/
COMMENT= MetaPost library for typesetting UML diagrams
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PKGBASE}_lib
MPDIR= ${PKG_LOCALTEXMFPREFIX}/metapost/${PKGBASE}
@@ -18,7 +20,7 @@ PLIST_SUBST+= MPDIR=${MPDIR:C|^${PREFIX}/||}
INSTALLATION_DIRS+= ${MPDIR}
do-install:
- ${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${MPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${DESTDIR}${MPDIR}
.include "../../print/teTeX/module.mk"
.include "../../mk/bsd.pkg.mk"