pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/tex-algorithm2e Add user-destdir support. Per j...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea46b2566100
branches:  trunk
changeset: 555495:ea46b2566100
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Mar 03 15:05:34 2009 +0000

description:
Add user-destdir support.  Per joerg@'s request.

diffstat:

 print/tex-algorithm2e/Makefile |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 7a4b0901e313 -r ea46b2566100 print/tex-algorithm2e/Makefile
--- a/print/tex-algorithm2e/Makefile    Tue Mar 03 14:57:29 2009 +0000
+++ b/print/tex-algorithm2e/Makefile    Tue Mar 03 15:05:34 2009 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index