diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 22:17:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 22:17:24 +0000 |
commit | 78bc7259cc0ea2871dba59008ed05e8f69f74894 (patch) | |
tree | 3b99534c3df848cc3df6d11505de1c9819144bcb /textproc/detex | |
parent | 17f41d68120c8afb5a27fddc62d5b31f98ed6491 (diff) | |
download | pkgsrc-78bc7259cc0ea2871dba59008ed05e8f69f74894.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/detex')
-rw-r--r-- | textproc/detex/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/detex/Makefile b/textproc/detex/Makefile index ec1a17654c6..16ef85df7c6 100644 --- a/textproc/detex/Makefile +++ b/textproc/detex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/11/20 02:19:26 chuck Exp $ +# $NetBSD: Makefile,v 1.13 2009/07/07 22:20:41 joerg Exp $ # DISTNAME= detex-2.8 @@ -10,12 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cs.purdue.edu/homes/trinkle/detex/ COMMENT= Remove LaTeX commands +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= lex INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/detex ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/detex.1l ${PREFIX}/${PKGMANDIR}/man1/detex.1 + ${INSTALL_PROGRAM} ${WRKSRC}/detex ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/detex.1l ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/detex.1 .include "../../mk/bsd.pkg.mk" |