From c57c686c3241a8f4a55df03cbdf37b4d78835376 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jul 2009 21:43:58 +0000 Subject: [PATCH] user-destdir support --- textproc/itex2MML/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/textproc/itex2MML/Makefile b/textproc/itex2MML/Makefile index c46c0fe3050e..493362f509ec 100644 --- a/textproc/itex2MML/Makefile +++ b/textproc/itex2MML/Makefile @@ -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 @@ MAINTAINER= minskim@NetBSD.org 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 @@ DIST_SUBDIR= ${PKGNAME_NOREV} INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/itex2MML ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/itex2MML ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk"