diff options
author | joerg <joerg> | 2009-07-07 22:17:24 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 22:17:24 +0000 |
commit | 74841b407f63eb09325234a970969922ecd6ab8f (patch) | |
tree | 3b99534c3df848cc3df6d11505de1c9819144bcb /textproc/detex | |
parent | 27d4e46f1320dcf89907750817085903906fb871 (diff) | |
download | pkgsrc-74841b407f63eb09325234a970969922ecd6ab8f.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" |