From 506aa3e0be5b780c80517384963cc4f74c148a97 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 24 Feb 2009 15:53:01 +0200 Subject: [PATCH] afpl-ghostpcl: fixed installation in /usr/local --- graphic/afpl-ghostpcl/afpl-ghostpcl.desc | 4 +-- graphic/afpl-ghostpcl/install.patch | 35 ++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 graphic/afpl-ghostpcl/install.patch diff --git a/graphic/afpl-ghostpcl/afpl-ghostpcl.desc b/graphic/afpl-ghostpcl/afpl-ghostpcl.desc index b8bd57166..90c249478 100644 --- a/graphic/afpl-ghostpcl/afpl-ghostpcl.desc +++ b/graphic/afpl-ghostpcl/afpl-ghostpcl.desc @@ -2,7 +2,7 @@ [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] [COPY] Filename: package/.../afpl-ghostpcl/afpl-ghostpcl.desc -[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] Copyright (C) 2007 - 2009 The OpenSDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] [COPY] More information can be found in the files COPYING and README. @@ -12,6 +12,7 @@ [COPY] the Free Software Foundation; version 2 of the License. A copy of the [COPY] GNU General Public License can be found in the file COPYING. [COPY] --- SDE-COPYRIGHT-NOTE-END --- + [I] PCL interpreter and previewer [T] GhostPCL is Artifex Software's implementation of the PCL-5tm @@ -32,4 +33,3 @@ [P] O -----5---9 142.700 [D] 2976707756 ghostpcl_1.41.tar.bz2 -ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/ - diff --git a/graphic/afpl-ghostpcl/install.patch b/graphic/afpl-ghostpcl/install.patch new file mode 100644 index 000000000..9b248470f --- /dev/null +++ b/graphic/afpl-ghostpcl/install.patch @@ -0,0 +1,35 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../afpl-ghostpcl/install.patch +# Copyright (C) 2009 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./Makefile.orig 2009-02-24 15:46:47.000000000 +0200 ++++ ./Makefile 2009-02-24 15:47:48.000000000 +0200 +@@ -1,3 +1,7 @@ ++prefix=/usr/local ++bindir=$(prefix)/bin ++DESTDIR= ++ + product: + make -C main -f pcl6_gcc.mak # build PCL and PCLXL. + +@@ -13,7 +17,7 @@ + make -C main -f pcl6_gcc.mak pg-fp + + install: +- install main/obj/pcl6 /usr/local/bin ++ install main/obj/pcl6 $(DESTDIR)$(bindir)/ + + test: + cd tools; ../main/obj/pcl6 -dTextAlphaBits=4 owl.pcl tiger.px3 # test with PCL and PXL test file