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/be04d0eeafa3
branches:  trunk
changeset: 395377:be04d0eeafa3
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 42eadbf01740 -r be04d0eeafa3 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