user-destdir support

This commit is contained in:
joerg 2009-07-07 21:43:58 +00:00
parent 3267a831c4
commit c57c686c32

View file

@ -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"