Tue Mar 3 15:05:34 2009 UTC ()
Add user-destdir support.  Per joerg@'s request.


(jmmv)
diff -r1.1.1.1 -r1.2 pkgsrc/print/tex-algorithm2e/Makefile

cvs diff -r1.1.1.1 -r1.2 pkgsrc/print/tex-algorithm2e/Makefile (expand / switch to unified diff)

--- pkgsrc/print/tex-algorithm2e/Makefile 2007/05/28 14:07:16 1.1.1.1
+++ pkgsrc/print/tex-algorithm2e/Makefile 2009/03/03 15:05:34 1.2
@@ -1,28 +1,30 @@ @@ -1,28 +1,30 @@
1# $NetBSD: Makefile,v 1.1.1.1 2007/05/28 14:07:16 jmmv Exp $ 1# $NetBSD: Makefile,v 1.2 2009/03/03 15:05:34 jmmv Exp $
2 2
3DISTNAME= algorithm2e 3DISTNAME= algorithm2e
4PKGNAME= tex-${DISTNAME}-3.9 4PKGNAME= tex-${DISTNAME}-3.9
5CATEGORIES= print 5CATEGORIES= print
6MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/} 6MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
7EXTRACT_SUFX= .zip 7EXTRACT_SUFX= .zip
8 8
9MAINTAINER= jmmv@NetBSD.org 9MAINTAINER= jmmv@NetBSD.org
10HOMEPAGE= http://www.ctan.org/tex-archive/help/Catalogue/entries/algorithm2e.html 10HOMEPAGE= http://www.ctan.org/tex-archive/help/Catalogue/entries/algorithm2e.html
11COMMENT= Environment for writing algorithms 11COMMENT= Environment for writing algorithms
12 12
 13PKG_DESTDIR_SUPPORT= user-destdir
 14
13NO_BUILD= yes 15NO_BUILD= yes
14USE_DIRS+= texmf-1.4 16USE_DIRS+= texmf-1.4
15 17
16.include "../../print/teTeX/module.mk" 18.include "../../print/teTeX/module.mk"
17 19
18do-install: 20do-install:
19 ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e 21 ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
20 ${INSTALL_DATA} ${WRKSRC}/algorithm2e.pdf \ 22 ${INSTALL_DATA} ${WRKSRC}/algorithm2e.pdf \
21 ${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e 23 ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
22 ${INSTALL_DATA} ${WRKSRC}/algorithm2e_ex*.tex \ 24 ${INSTALL_DATA} ${WRKSRC}/algorithm2e_ex*.tex \
23 ${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e 25 ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
24 ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e 26 ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e
25 ${INSTALL_DATA} ${WRKSRC}/algorithm2e.sty \ 27 ${INSTALL_DATA} ${WRKSRC}/algorithm2e.sty \
26 ${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e 28 ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e
27 29
28.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"