aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-07-15 21:30:49 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-07-15 21:30:49 +0000
commit6b7a332ae7bd66c9e39226625cefe1bcbb5cafe9 (patch)
tree86bee35d547545dc5209ab877e26f61bf2062908 /print
parentd8219ccbe398f3de606a2b8debed89bfb8c75ab1 (diff)
downloadports-6b7a332ae7bd66c9e39226625cefe1bcbb5cafe9.tar.gz
ports-6b7a332ae7bd66c9e39226625cefe1bcbb5cafe9.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/pnm2ppa/Makefile2
-rw-r--r--print/pnm2ppa/distinfo2
-rw-r--r--print/pnm2ppa/files/patch-aa38
3 files changed, 20 insertions, 22 deletions
diff --git a/print/pnm2ppa/Makefile b/print/pnm2ppa/Makefile
index 74b8551d3078..3f7c9e1b5b62 100644
--- a/print/pnm2ppa/Makefile
+++ b/print/pnm2ppa/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pnm2ppa
-PORTVERSION= 1.04
+PORTVERSION= 1.10
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/print/pnm2ppa/distinfo b/print/pnm2ppa/distinfo
index 2d7b72cec72f..0aa1ad03cebd 100644
--- a/print/pnm2ppa/distinfo
+++ b/print/pnm2ppa/distinfo
@@ -1 +1 @@
-MD5 (pnm2ppa-1.04.tar.gz) = 8db1f0dcdb3cf86d8ccb9a34007b9e21
+MD5 (pnm2ppa-1.10.tar.gz) = 8953f7af96a5c8ca12711756de9d50ba
diff --git a/print/pnm2ppa/files/patch-aa b/print/pnm2ppa/files/patch-aa
index dd6530f163c3..062100b2b3aa 100644
--- a/print/pnm2ppa/files/patch-aa
+++ b/print/pnm2ppa/files/patch-aa
@@ -1,25 +1,23 @@
---- Makefile.orig Fri Nov 3 03:33:08 2000
-+++ Makefile Tue Jan 30 21:25:55 2001
-@@ -2,16 +2,16 @@
- # Makefile for pnm2ppa
- #
-
--INSTALLDIR=/usr/local/bin
--CONFDIR=/etc
--MANDIR=/usr/local/man/man1
-+INSTALLDIR=${PREFIX}/bin
-+CONFDIR=${PREFIX}/etc
-+MANDIR=${PREFIX}/man/man1
+--- Makefile.orig Tue Feb 12 00:49:11 2002
++++ Makefile Fri Jul 12 20:48:40 2002
+@@ -5,14 +5,14 @@
+ # paths to locations where the pnm2ppa binary, the configuration file,
+ # and the man page should be installed. On some systems (like Solaris)
+ # the install command requires the syntax BINDIR="-f /usr/local/bin".
+-BINDIR="/usr/local/bin"
+-CONFDIR="/etc"
+-MANDIR="/usr/local/man/man1"
++BINDIR="${PREFIX}/bin"
++CONFDIR="${PREFIX}/etc"
++MANDIR="${PREFIX}/man/man1"
+ #compiler and linker options:
-CC=gcc
-+CC?=gcc
- INSTALL=install
-
- # production build
--CFLAGS=-Wall -pedantic -O2 -g -DNDEBUG
+-CFLAGS=-Wall -pedantic -O2 -g
-LDFLAGS=-lm
-+CFLAGS+=-DCONFDIR=\"$(CONFDIR)\" -DNDEBUG -I${LOCALBASE}/include
++CC?=gcc
++CFLAGS+=-DCONFDIR=\"$(CONFDIR)\" -I${LOCALBASE}/include
+LDFLAGS=-lm -L${LOCALBASE}/lib -lgnugetopt
- OBJS = pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o hash_ink.o gamma.o
- SRC = pnm2ppa.c syslog.c ppa.c image.c dither.c cutswath.c hash_ink.c gamma.c
+ INSTALL=install
+ # Install under Linux and other versions with the -b (backup) option