diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /print | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'print')
-rw-r--r-- | print/bg5ps/Makefile | 4 | ||||
-rw-r--r-- | print/bg5ps/distinfo | 4 | ||||
-rw-r--r-- | print/bg5ps/patches/patch-aa | 30 | ||||
-rw-r--r-- | print/bww2tex/Makefile | 6 | ||||
-rw-r--r-- | print/gimp-print-cups/Makefile | 4 | ||||
-rw-r--r-- | print/gimp-print-escputil/Makefile | 4 | ||||
-rw-r--r-- | print/gimp-print-ijs/Makefile | 9 | ||||
-rw-r--r-- | print/gimp-print/Makefile | 4 | ||||
-rw-r--r-- | print/glabels/Makefile | 4 | ||||
-rw-r--r-- | print/scribus-doc/Makefile | 4 | ||||
-rw-r--r-- | print/transfig/Makefile | 4 |
11 files changed, 50 insertions, 27 deletions
diff --git a/print/bg5ps/Makefile b/print/bg5ps/Makefile index 20a86893069..38550831993 100644 --- a/print/bg5ps/Makefile +++ b/print/bg5ps/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/09/30 17:45:24 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2008/06/20 01:09:32 joerg Exp $ DISTNAME= bg5ps-1.3.0 PKGREVISION= 2 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org # HOMEPAGE= http://students.washington.edu/cschin/bg5ps/ COMMENT= Convert Big5/GB encoded files to postscript +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= arphic-ttf>=2.11:../../fonts/arphic-ttf PKG_SYSCONFSUBDIR?= bg5ps diff --git a/print/bg5ps/distinfo b/print/bg5ps/distinfo index f6c1f40b25f..f0f77f759e0 100644 --- a/print/bg5ps/distinfo +++ b/print/bg5ps/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2005/02/24 12:51:41 agc Exp $ +$NetBSD: distinfo,v 1.5 2008/06/20 01:09:32 joerg Exp $ SHA1 (bg5ps-1.3.0.tar.gz) = b7fc700ff1336b74fe447fd4b13bca7ed3604aa8 RMD160 (bg5ps-1.3.0.tar.gz) = c35fcd17eedf4fb85db4bb53b6f0ea44a185ba6d Size (bg5ps-1.3.0.tar.gz) = 120390 bytes -SHA1 (patch-aa) = 446a298193cd4f4efac9d7fced4b5c57f9b05367 +SHA1 (patch-aa) = d435845acda2363af9389cbccccc783073735d38 SHA1 (patch-ab) = 1def7918c5809dc08da8cbc2916cfae5e46f5b41 SHA1 (patch-ac) = 4f6ec31cd46082d4e9bdaa3431dd2527beb66dde diff --git a/print/bg5ps/patches/patch-aa b/print/bg5ps/patches/patch-aa index 50e2b3a8cce..b89fc82e1cf 100644 --- a/print/bg5ps/patches/patch-aa +++ b/print/bg5ps/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.2 2002/07/09 16:49:20 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2008/06/20 01:09:32 joerg Exp $ ---- Makefile.orig Tue Feb 15 04:41:27 2000 +--- Makefile.orig 2000-02-14 20:41:27.000000000 +0000 +++ Makefile @@ -17,15 +17,16 @@ @@ -12,21 +12,22 @@ $NetBSD: patch-aa,v 1.2 2002/07/09 16:49:20 wiz Exp $ -CFLAGS = -LIBS = -lttf -lm -INCLUDEDIR = +- +-prefix = /usr +-BINDIR = $(prefix)/bin +-ETCDIR = /etc/chinese/ +#CFLAGS = +LDFLAGS = -Wl,-R${LOCALBASE}/lib +LIBS = -lttf -lm -lintl +INCLUDEDIR = -L/usr/lib -L${LOCALBASE}/lib - --prefix = /usr --BINDIR = $(prefix)/bin --ETCDIR = /etc/chinese/ ++ +#prefix = /usr +BINDIR = ${PREFIX}/bin +ETCDIR = ${PKG_SYSCONFDIR} all: ttf2psm -@@ -33,13 +34,13 @@ +@@ -33,14 +34,14 @@ all: ttf2psm $(CC) -c $(CFLAGS) $(INCLUDEDIR) $< -o $@ ttf2psm: $(OBJS) @@ -34,11 +35,16 @@ $NetBSD: patch-aa,v 1.2 2002/07/09 16:49:20 wiz Exp $ + $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDEDIR) -o ttf2psm $(OBJS) $(LIBS) install: all bg5ps bg5ps.conf - mkdir -p $(ETCDIR) - mkdir -p $(BINDIR) - $(INSTALL) -m644 bg5ps.conf $(ETCDIR)/bg5ps.conf +- mkdir -p $(ETCDIR) +- mkdir -p $(BINDIR) +- $(INSTALL) -m644 bg5ps.conf $(ETCDIR)/bg5ps.conf - $(INSTALL) -m755 bg5ps $(BINDIR) -+ $(INSTALL) -m755 bg5ps.new $(BINDIR)/bg5ps - $(INSTALL) -m755 ttf2psm $(BINDIR) +- $(INSTALL) -m755 ttf2psm $(BINDIR) ++ mkdir -p ${DESTDIR}$(ETCDIR) ++ mkdir -p ${DESTDIR}$(BINDIR) ++ $(INSTALL) -m644 bg5ps.conf ${DESTDIR}$(ETCDIR)/bg5ps.conf ++ $(INSTALL) -m755 bg5ps.new ${DESTDIR}$(BINDIR)/bg5ps ++ $(INSTALL) -m755 ttf2psm ${DESTDIR}$(BINDIR) clean: + rm -rf *.o core ttf2psm *~ diff --git a/print/bww2tex/Makefile b/print/bww2tex/Makefile index 0653843475f..d121ff2932c 100644 --- a/print/bww2tex/Makefile +++ b/print/bww2tex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/01/07 09:14:09 rillig Exp $ +# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:33 joerg Exp $ # DISTNAME= bww2tex-2.00 @@ -20,8 +20,8 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: ${INSTALL_MAN} ${FILESDIR}/bww2tex.1 \ - ${PREFIX}/${PKGMANDIR}/man1 + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_PROGRAM} ${WRKSRC}/bww2tex \ - ${PREFIX}/bin + ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/print/gimp-print-cups/Makefile b/print/gimp-print-cups/Makefile index aa1ccabbec6..970c45f325f 100644 --- a/print/gimp-print-cups/Makefile +++ b/print/gimp-print-cups/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2008/01/18 05:08:54 tnn Exp $ +# $NetBSD: Makefile,v 1.31 2008/06/20 01:09:33 joerg Exp $ DISTNAME= gimp-print-4.2.7 PKGNAME= gimp-print-cups-4.2.7 @@ -10,6 +10,8 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://gimp-print.sourceforge.net/ COMMENT= GIMP print plugin +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake lex USE_LIBTOOL= yes GNU_CONFIGURE= yes diff --git a/print/gimp-print-escputil/Makefile b/print/gimp-print-escputil/Makefile index 8072300ba92..a12ba065fb3 100644 --- a/print/gimp-print-escputil/Makefile +++ b/print/gimp-print-escputil/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/01/13 01:20:28 gdt Exp $ +# $NetBSD: Makefile,v 1.25 2008/06/20 01:09:33 joerg Exp $ DISTNAME= gimp-print-4.2.7 PKGNAME= gimp-print-escputil-4.2.7 @@ -10,6 +10,8 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://gimp-print.sourceforge.net/ COMMENT= Epson Stylus inkjet printer tool +PKG_DESTDIR_SUPPORT= user-destdir + #the lib is not really needed, but the build system wants it BUILDLINK_DEPMETHOD.gimp-print-lib= build CONFLICTS+= gimp<=1.2.3 diff --git a/print/gimp-print-ijs/Makefile b/print/gimp-print-ijs/Makefile index caa304ec71a..24694f266d6 100644 --- a/print/gimp-print-ijs/Makefile +++ b/print/gimp-print-ijs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2008/01/13 01:20:28 gdt Exp $ +# $NetBSD: Makefile,v 1.24 2008/06/20 01:09:33 joerg Exp $ DISTNAME= gimp-print-4.2.7 PKGNAME= gimp-print-ijs-4.2.7 @@ -9,6 +9,8 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://gimp-print.sourceforge.net/ COMMENT= GIMP print IJS server +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= yes USE_TOOLS+= gmake lex @@ -25,9 +27,10 @@ CONFIGURE_ARGS+= --disable-libgimpprint BUILD_DIRS= ${WRKSRC}/lib ${WRKSRC}/src/ghost DOCDIR= ${PREFIX}/share/doc/gimp-print-ijs +INSTALLATION_DIRS= ${DOCDIR} + post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/src/ghost/README ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/src/ghost/README ${DESTDIR}${DOCDIR} .include "../../print/gimp-print-lib/buildlink3.mk" .include "../../print/ijs/buildlink3.mk" diff --git a/print/gimp-print/Makefile b/print/gimp-print/Makefile index 650fcfb2c3a..71d9d9be836 100644 --- a/print/gimp-print/Makefile +++ b/print/gimp-print/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2008/01/13 01:20:28 gdt Exp $ +# $NetBSD: Makefile,v 1.31 2008/06/20 01:09:33 joerg Exp $ DISTNAME= gimp-print-4.2.7 PKGREVISION= 3 @@ -9,6 +9,8 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://gimp-print.sourceforge.net/ COMMENT= GIMP print plugin +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS+= gimp<=1.2.3 USE_TOOLS+= gmake lex diff --git a/print/glabels/Makefile b/print/glabels/Makefile index e48b66c2476..3442c2b459c 100644 --- a/print/glabels/Makefile +++ b/print/glabels/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2008/03/06 14:53:53 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2008/06/20 01:09:33 joerg Exp $ # DISTNAME= glabels-2.2.2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://glabels.sourceforge.net/ COMMENT= Program for creating labels and business cards for GNOME +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes USE_DIRS+= gnome2-1.5 diff --git a/print/scribus-doc/Makefile b/print/scribus-doc/Makefile index c5fbdef5eb0..e0a1b6f17ba 100644 --- a/print/scribus-doc/Makefile +++ b/print/scribus-doc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2006/03/04 21:30:31 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2008/06/20 01:09:33 joerg Exp $ DISTNAME= scribus-i18n-en PKGNAME= scribus-doc-1.0 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://web2.altmuehlnet.de/fschmid/ COMMENT= Documentation for the Scribus publishing software +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES .include "../../mk/bsd.pkg.mk" diff --git a/print/transfig/Makefile b/print/transfig/Makefile index 17ec7ed2271..7efa093b957 100644 --- a/print/transfig/Makefile +++ b/print/transfig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2008/05/21 11:11:52 drochner Exp $ +# $NetBSD: Makefile,v 1.35 2008/06/20 01:09:33 joerg Exp $ DISTNAME= transfig.3.2.5 PKGNAME= transfig-3.2.5 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.xfig.org/ COMMENT= TeX document creation tool utilizing portable graphics +PKG_DESTDIR_SUPPORT= user-destdir + USE_IMAKE= yes .include "../../mk/bsd.prefs.mk" |