pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print Add user-destdir support. Per joerg@'s request.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f87329479e80
branches: trunk
changeset: 555497:f87329479e80
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Tue Mar 03 15:19:26 2009 +0000
description:
Add user-destdir support. Per joerg@'s request.
diffstat:
print/tex-glossaries/Makefile | 27 +++++++++++++++++----------
print/tex-resume/Makefile | 8 +++++---
2 files changed, 22 insertions(+), 13 deletions(-)
diffs (87 lines):
diff -r bcfc01ad1603 -r f87329479e80 print/tex-glossaries/Makefile
--- a/print/tex-glossaries/Makefile Tue Mar 03 15:13:13 2009 +0000
+++ b/print/tex-glossaries/Makefile Tue Mar 03 15:19:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/09 07:34:01 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2009/03/03 15:19:26 jmmv Exp $
DISTNAME= glossaries
PKGNAME= tex-${DISTNAME}-1.02
@@ -10,6 +10,8 @@
HOMEPAGE= http://www.ctan.org/tex-archive/help/Catalogue/entries/glossaries.html
COMMENT= Macros for creation of glossaries
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= tex-xkeyval>=2.5f:../../print/tex-xkeyval
DIST_SUBDIR= ${PKGNAME_NOREV}
@@ -18,26 +20,31 @@
REPLACE_PERL= scripts/makeglossaries
+INSTALLATION_DIRS= bin
+
.include "../../print/teTeX/module.mk"
do-build:
cd ${WRKSRC} && latex glossaries.ins
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/makeglossaries ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/makeglossaries \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} \
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/doc/glossaries.pdf \
- ${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries
- ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries
+ ${INSTALL_DATA_DIR} \
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossaries.sty \
- ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossary-hypernav.sty \
- ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossary-list.sty \
- ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossary-long.sty \
- ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossary-super.sty \
- ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
.include "../../mk/bsd.pkg.mk"
diff -r bcfc01ad1603 -r f87329479e80 print/tex-resume/Makefile
--- a/print/tex-resume/Makefile Tue Mar 03 15:13:13 2009 +0000
+++ b/print/tex-resume/Makefile Tue Mar 03 15:19:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/06/03 08:59:02 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2009/03/03 15:22:07 jmmv Exp $
DISTNAME= resume
PKGNAME= tex-${DISTNAME}-20010823
@@ -10,14 +10,16 @@
HOMEPAGE= http://www.ctan.org/tex-archive/macros/latex/contrib/resume/
COMMENT= Resume document style
+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}/tex/latex/resume
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/resume
${INSTALL_DATA} ${WRKSRC}/res.cls \
- ${PKG_LOCALTEXMFPREFIX}/tex/latex/resume
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/resume
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index