diff options
Diffstat (limited to 'print/bg5ps')
-rw-r--r-- | print/bg5ps/Makefile | 4 | ||||
-rw-r--r-- | print/bg5ps/distinfo | 4 | ||||
-rw-r--r-- | print/bg5ps/patches/patch-aa | 30 |
3 files changed, 23 insertions, 15 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 *~ |