pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/0d594097fb98
branches: trunk
changeset: 570259:0d594097fb98
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jan 27 16:27:49 2010 +0000
description:
DESTDIR support
diffstat:
print/tex-ocrb/Makefile | 13 +++++++------
print/tex-pgf/Makefile | 20 ++++++++++++++------
print/tex-prosper/Makefile | 17 +++++++++--------
3 files changed, 30 insertions(+), 20 deletions(-)
diffs (118 lines):
diff -r bdedaa435dbb -r 0d594097fb98 print/tex-ocrb/Makefile
--- a/print/tex-ocrb/Makefile Wed Jan 27 16:15:19 2010 +0000
+++ b/print/tex-ocrb/Makefile Wed Jan 27 16:27:49 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/07/22 09:01:44 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2010/01/27 16:27:49 joerg Exp $
#
DISTNAME= ocr-b
@@ -30,13 +30,14 @@
${CP} ${DISTDIR}/${DIST_SUBDIR}/$$f ${WRKSRC}; \
done
+INSTALLATION_DIRS+= ${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb \
+ ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb \
+ ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/ocrb
+
do-install:
- ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb
- ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb
- ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/ocrb
${INSTALL_DATA} ${WRKSRC}/ocrbinfo \
- ${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb
${INSTALL_DATA} ${WRKSRC}/*.mf \
- ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb
.include "../../mk/bsd.pkg.mk"
diff -r bdedaa435dbb -r 0d594097fb98 print/tex-pgf/Makefile
--- a/print/tex-pgf/Makefile Wed Jan 27 16:15:19 2010 +0000
+++ b/print/tex-pgf/Makefile Wed Jan 27 16:27:49 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/07/22 09:01:44 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2010/01/27 16:31:20 joerg Exp $
#
DISTNAME= pgf-2.00
@@ -10,6 +10,8 @@
HOMEPAGE= http://pgf.sourceforge.net/
COMMENT= Graphic systems for TeX
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
USE_LANGUAGES= # none
@@ -18,18 +20,24 @@
.include "../../print/teTeX/module.mk"
+INSTALLATION_DIRS+= ${PKG_LOCALTEXMFPREFIX}/tex/context \
+ ${PKG_LOCALTEXMFPREFIX}/doc/generic/ \
+ ${PKG_LOCALTEXMFPREFIX}/tex/generic/ \
+ ${PKG_LOCALTEXMFPREFIX}/tex/latex/ \
+ ${PKG_LOCALTEXMFPREFIX}/tex/plain/
+
do-build:
do-install:
cd ${WRKSRC}/context && \
- pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/context/
+ pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/context/
cd ${WRKSRC}/doc/generic && \
- pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/doc/generic/
+ pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/generic/
cd ${WRKSRC}/generic && \
- pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/generic/
+ pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/generic/
cd ${WRKSRC}/latex && \
- pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/latex/
+ pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/
cd ${WRKSRC}/plain && \
- pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/plain/
+ pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/plain/
.include "../../mk/bsd.pkg.mk"
diff -r bdedaa435dbb -r 0d594097fb98 print/tex-prosper/Makefile
--- a/print/tex-prosper/Makefile Wed Jan 27 16:15:19 2010 +0000
+++ b/print/tex-prosper/Makefile Wed Jan 27 16:27:49 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/12/25 22:58:18 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2010/01/27 16:35:37 joerg Exp $
#
DISTNAME= prosper-1.00.4
@@ -12,6 +12,8 @@
HOMEPAGE= http://sourceforge.net/projects/prosper/
COMMENT= LaTeX class for writing transparencies
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/prosper
NO_CONFIGURE= yes
NO_BUILD= yes
@@ -33,16 +35,15 @@
${MV} ${WRKSRC}/doc/doc-examples ${WRKSRC}/examples
${FIND} ${WRKSRC} -name CVS -print | ${XARGS} ${RM} -rf
+INSTALLATION_DIRS+= ${PROSPERDIR} ${DOCDIR} ${EGDIR}
+
do-install:
- ${INSTALL_DATA_DIR} ${PROSPERDIR}
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC} && pax -rw -pp -pm *.sty *.cls img contrib designer \
- ${PROSPERDIR}
- cd ${WRKSRC}/doc && pax -rw -pp -pm . ${DOCDIR}
- cd ${WRKSRC}/examples && pax -rw -pp -pm . ${EGDIR}
+ ${DESTDIR}${PROSPERDIR}
+ cd ${WRKSRC}/doc && pax -rw -pp -pm . ${DESTDIR}${DOCDIR}
+ cd ${WRKSRC}/examples && pax -rw -pp -pm . ${DESTDIR}${EGDIR}
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
.endfor
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index