diff options
author | jmmv <jmmv@pkgsrc.org> | 2009-03-03 15:05:34 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2009-03-03 15:05:34 +0000 |
commit | 84189ab81a9262ed701233d2ca08b365df4ce0f2 (patch) | |
tree | 2aea2bd9c2b09a0df52d8aaa98d9dfc2c70b36eb /print/tex-algorithm2e | |
parent | af39807be69395a3f8279a3cca04db0221ff4c4f (diff) | |
download | pkgsrc-84189ab81a9262ed701233d2ca08b365df4ce0f2.tar.gz |
Add user-destdir support. Per joerg@'s request.
Diffstat (limited to 'print/tex-algorithm2e')
-rw-r--r-- | print/tex-algorithm2e/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/print/tex-algorithm2e/Makefile b/print/tex-algorithm2e/Makefile index c25d7aea1d6..52f3b0c3bad 100644 --- a/print/tex-algorithm2e/Makefile +++ b/print/tex-algorithm2e/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/05/28 14:07:16 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2009/03/03 15:05:34 jmmv Exp $ DISTNAME= algorithm2e PKGNAME= tex-${DISTNAME}-3.9 @@ -10,19 +10,21 @@ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://www.ctan.org/tex-archive/help/Catalogue/entries/algorithm2e.html COMMENT= Environment for writing algorithms +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes USE_DIRS+= texmf-1.4 .include "../../print/teTeX/module.mk" do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e + ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e ${INSTALL_DATA} ${WRKSRC}/algorithm2e.pdf \ - ${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e ${INSTALL_DATA} ${WRKSRC}/algorithm2e_ex*.tex \ - ${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e + ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e ${INSTALL_DATA} ${WRKSRC}/algorithm2e.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e .include "../../mk/bsd.pkg.mk" |