summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-12 00:00:45 +0000
committerjoerg <joerg>2010-02-12 00:00:45 +0000
commit3d4c71250b880c01783e2483fae54e13801533b0 (patch)
tree51698fe5fbb0ecf940c83f4f9bb9332a4c5999df /print
parent75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac (diff)
downloadpkgsrc-3d4c71250b880c01783e2483fae54e13801533b0.tar.gz
DESTDIR support
Diffstat (limited to 'print')
-rw-r--r--print/cjk-lyx/Makefile4
-rw-r--r--print/foomatic-ppds/Makefile10
-rw-r--r--print/ja-jsclasses/Makefile11
-rw-r--r--print/rlpr/Makefile4
-rw-r--r--print/rtf2latex/Makefile6
-rw-r--r--print/rtf2latex/files/Makefile12
-rw-r--r--print/rtf2latex2e/Makefile14
7 files changed, 39 insertions, 22 deletions
diff --git a/print/cjk-lyx/Makefile b/print/cjk-lyx/Makefile
index d64e0116742..18e8d5651bf 100644
--- a/print/cjk-lyx/Makefile
+++ b/print/cjk-lyx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2010/02/10 19:17:44 joerg Exp $
+# $NetBSD: Makefile,v 1.31 2010/02/12 00:00:45 joerg Exp $
DISTNAME= lyx-${LYX_VERS}
PKGNAME= cjk-${DISTNAME}
@@ -15,6 +15,8 @@ MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://cellular.phys.pusan.ac.kr/cjk.html
COMMENT= Multibyte version of LyX
+PKG_DESTDIR_SUPPORT= user-destdir
+
LYX_VERS= 1.2.0
CONFLICTS= lyx-[0-9]*
diff --git a/print/foomatic-ppds/Makefile b/print/foomatic-ppds/Makefile
index eaea1df029b..0bb05c6d893 100644
--- a/print/foomatic-ppds/Makefile
+++ b/print/foomatic-ppds/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2009/06/16 15:25:32 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2010/02/12 00:06:13 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
@@ -28,9 +30,11 @@ GENERATE_PLIST+= \
${FIND} ppd -type f -print | ${SORT} -u | \
${SED} -e "s|^|share/foomatic/|" );
-do-build: # nothing
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= share/foomatic
do-install:
- ${CP} -R ${WRKSRC}/share/ppd ${PREFIX}/share/foomatic/ppd
+ ${CP} -R ${WRKSRC}/share/ppd ${DESTDIR}${PREFIX}/share/foomatic
.include "../../mk/bsd.pkg.mk"
diff --git a/print/ja-jsclasses/Makefile b/print/ja-jsclasses/Makefile
index 3449d6c2a68..86e68d4991c 100644
--- a/print/ja-jsclasses/Makefile
+++ b/print/ja-jsclasses/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2009/09/02 08:34:14 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2010/02/12 00:04:36 joerg Exp $
DISTNAME= jsclasses-071024
PKGNAME= ja-${DISTNAME}
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://oku.edu.mie-u.ac.jp/~okumura/jsclasses/
COMMENT= New document class files for pLaTeX
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= ja-ptex-bin>=3.1.9:../../print/ja-ptex-bin
WRKSRC= ${WRKDIR}/jsclasses
@@ -27,9 +29,10 @@ post-extract:
@cd ${WRKSRC}; \
${MV} ../*.* .
+INSTALLATION_DIRS+= ${PLATEX_DIR}/js
+
do-install:
- @cd ${WRKSRC}; \
- ${INSTALL_DATA_DIR} ${PLATEX_DIR}/js; \
- ${INSTALL_DATA} *.cls *.dtx *.ins *.sty ${PLATEX_DIR}/js
+ @cd ${WRKSRC} && \
+ ${INSTALL_DATA} *.cls *.dtx *.ins *.sty ${DESTDIR}${PLATEX_DIR}/js
.include "../../mk/bsd.pkg.mk"
diff --git a/print/rlpr/Makefile b/print/rlpr/Makefile
index 63f2b47ca5e..542628aedf7 100644
--- a/print/rlpr/Makefile
+++ b/print/rlpr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/10/04 21:56:34 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2010/02/12 00:08:02 joerg Exp $
DISTNAME= rlpr-2.06
PKGREVISION= 2
@@ -9,6 +9,8 @@ MAINTAINER= sekiya@NetBSD.org
HOMEPAGE= http://truffula.com/rlpr/
COMMENT= lpr work-alike to print directly to remote printer
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/print/rtf2latex/Makefile b/print/rtf2latex/Makefile
index 74a9383d709..e177dec8c08 100644
--- a/print/rtf2latex/Makefile
+++ b/print/rtf2latex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/03/04 21:30:31 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2010/02/12 00:08:35 joerg Exp $
DISTNAME= rtf2LaTeX.1.5
PKGNAME= rtf2latex-1.5
@@ -8,6 +8,8 @@ MASTER_SITES= ftp://ftp.dante.de/pub/tex/support/rtf2latex/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Filter that converts RTF (MS's Rich Text Format) into LaTeX
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/rtf2LaTeX
NO_CONFIGURE= yes
@@ -20,4 +22,6 @@ post-extract:
MAKE_ENV+= XCFLAGS="${CPPFLAGS} -DSYSV" CC=${CC:Q}
.endif
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/print/rtf2latex/files/Makefile b/print/rtf2latex/files/Makefile
index c437b2da429..748d2ea7c0a 100644
--- a/print/rtf2latex/files/Makefile
+++ b/print/rtf2latex/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/12/30 18:00:03 tron Exp $
+# $NetBSD: Makefile,v 1.3 2010/02/12 00:08:35 joerg Exp $
SHELL=/bin/sh
INSTALL_PROGRAM=${BSD_INSTALL_PROGRAM}
@@ -25,7 +25,7 @@ LD=cc -s
# This is where executables, man-pages and support files are installed
BINDIR = ${PREFIX}/bin
-MANDIR = ${PREFIX}/man/man1
+MANDIR = ${PREFIX}/${PKGMANDIR}/man1
RTFDIR = ${PREFIX}/share/rtf
############### No configuration parameters below this line ###############
@@ -45,10 +45,10 @@ all: rtf2LaTeX
rtf2LaTeX: $(LATEXOBJS)
$(LD) $(LDFLAGS) -o $@ $(LATEXOBJS)
install: rtf2LaTeX $(DOCFILS) $(SUPPORT)
- $(INSTALL_PROGRAM) rtf2LaTeX $(BINDIR)
- $(INSTALL_MAN) rtf2LaTeX.man $(MANDIR)/rtf2LaTeX.1
- -mkdir $(RTFDIR)
- $(INSTALL_DATA) ansi.code mac.code german.land english.land $(RTFDIR)
+ $(INSTALL_PROGRAM) rtf2LaTeX ${DESTDIR}$(BINDIR)
+ $(INSTALL_MAN) rtf2LaTeX.man ${DESTDIR}$(MANDIR)/rtf2LaTeX.1
+ -mkdir ${DESTDIR}$(RTFDIR)
+ $(INSTALL_DATA) ansi.code mac.code german.land english.land ${DESTDIR}$(RTFDIR)
tags:
etags -et *.[ch]
clean::
diff --git a/print/rtf2latex2e/Makefile b/print/rtf2latex2e/Makefile
index d7229182de3..08d92aa9685 100644
--- a/print/rtf2latex2e/Makefile
+++ b/print/rtf2latex2e/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/05/26 02:13:23 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2010/02/12 00:10:15 joerg Exp $
#
# fix install so it uses ${prefix}
@@ -12,6 +12,8 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://sourceforge.net/projects/rtf2latex2e/
COMMENT= RTF to LaTeX2e converter
+PKG_DESTDIR_SUPPORT= user-destdir
+
# ImageMagick is an optional component
WRKSRC= ${WRKDIR}/rtf2latex2eUnix-1.0fc1/
@@ -25,11 +27,11 @@ USE_TOOLS+= pax
INSTALLATION_DIRS+= bin share/doc/rtf2latex2e share/rtf2latex2e
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rtf2latex2e.bin ${PREFIX}/bin/rtf2latex2e
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/rtf2latex2e/
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rtf2latex2e/
- ${INSTALL_DATA} ${WRKSRC}/doc/rtf2LaTeX2eDoc.html ${PREFIX}/share/doc/rtf2latex2e/
- cd ${WRKSRC} && pax -rw pref ${PREFIX}/share/rtf2latex2e
+ ${INSTALL_PROGRAM} ${WRKSRC}/rtf2latex2e.bin ${DESTDIR}${PREFIX}/bin/rtf2latex2e
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/
+ ${INSTALL_DATA} ${WRKSRC}/doc/rtf2LaTeX2eDoc.html ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/
+ cd ${WRKSRC} && pax -rw pref ${DESTDIR}${PREFIX}/share/rtf2latex2e
# install other docs and examples too?