pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/itex2MML user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/609c90995be5
branches:  trunk
changeset: 561229:609c90995be5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 21:43:58 2009 +0000

description:
user-destdir support

diffstat:

 textproc/itex2MML/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d1bfa37c3b15 -r 609c90995be5 textproc/itex2MML/Makefile
--- a/textproc/itex2MML/Makefile        Tue Jul 07 21:43:25 2009 +0000
+++ b/textproc/itex2MML/Makefile        Tue Jul 07 21:43:58 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/06/29 23:08:12 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2009/07/07 21:43:58 joerg Exp $
 
 DISTNAME=      itexToMML
 PKGNAME=       itex2MML-1.2.3
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://golem.ph.utexas.edu/~distler/blog/itex2MML.html
 COMMENT=       Converts itex equations to MathML
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES= c c++
 USE_TOOLS+=    bison flex
 WRKSRC=                ${WRKDIR}/${DISTNAME}/itex-src
@@ -18,6 +20,6 @@
 INSTALLATION_DIRS=     bin
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/itex2MML ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/itex2MML ${DESTDIR}${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index