Browse Source

afpl-ghostpcl: fixed installation in /usr/local

cross
Alejandro Mery 16 years ago
parent
commit
506aa3e0be
  1. 4
      graphic/afpl-ghostpcl/afpl-ghostpcl.desc
  2. 35
      graphic/afpl-ghostpcl/install.patch

4
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/

35
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
Loading…
Cancel
Save