aboutsummaryrefslogtreecommitdiffstats
path: root/print/mpage
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2002-04-14 09:56:41 +0800
committeranders <anders@FreeBSD.org>2002-04-14 09:56:41 +0800
commita0161f55ce0cfc0de5e35c748713b65934c2417f (patch)
treef8aeb5e7fb4968077aec565b59380fdb2a8f7365 /print/mpage
parent768a1ae307e91ca1751e69f313c04bc063ffc999 (diff)
downloadfreebsd-ports-graphics-a0161f55ce0cfc0de5e35c748713b65934c2417f.tar.gz
freebsd-ports-graphics-a0161f55ce0cfc0de5e35c748713b65934c2417f.tar.zst
freebsd-ports-graphics-a0161f55ce0cfc0de5e35c748713b65934c2417f.zip
Update to 2.5.2.
Fix CFLAGS compliance. PR: 36821 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'print/mpage')
-rw-r--r--print/mpage/Makefile2
-rw-r--r--print/mpage/distinfo2
-rw-r--r--print/mpage/files/patch-aa38
-rw-r--r--print/mpage/pkg-plist1
4 files changed, 25 insertions, 18 deletions
diff --git a/print/mpage/Makefile b/print/mpage/Makefile
index 80e80ed683e..015d7e824cc 100644
--- a/print/mpage/Makefile
+++ b/print/mpage/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mpage
-PORTVERSION= 2.5
+PORTVERSION= 2.5.2
CATEGORIES= print
MASTER_SITES= ftp://ftp.mesa.nl/pub/mpage/
EXTRACT_SUFX= .tgz
diff --git a/print/mpage/distinfo b/print/mpage/distinfo
index 384b5f6965c..e72495a0a21 100644
--- a/print/mpage/distinfo
+++ b/print/mpage/distinfo
@@ -1 +1 @@
-MD5 (mpage-2.5.tgz) = 503b17df96b182035c63602d850b1dec
+MD5 (mpage-2.5.2.tgz) = a79ac73c3bfe19e6cb72dcbd90a2fccc
diff --git a/print/mpage/files/patch-aa b/print/mpage/files/patch-aa
index fe94a6cd5d4..4e62db8c327 100644
--- a/print/mpage/files/patch-aa
+++ b/print/mpage/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile~ Tue Nov 25 23:16:06 1997
-+++ Makefile Thu Feb 19 15:18:17 1998
-@@ -30,7 +30,6 @@
+--- Makefile.orig Thu Jan 24 20:12:59 2002
++++ Makefile Sun Apr 14 03:46:23 2002
+@@ -24,7 +24,6 @@
# Set this to an ANSI compatible C compiler (preferably gcc)
# See also system specific settings below
#CC=cc
@@ -8,29 +8,35 @@
############################################################################
#
-@@ -55,9 +54,8 @@
+@@ -50,7 +49,6 @@
SPOOL_TYPE=BSD_SPOOLER
# PREFIX=e:/usr # OS/2 type
-PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
--LIBDIR=$(PREFIX)/lib
-+LIBDIR=$(PREFIX)/share
+ LIBDIR=$(PREFIX)/share
MANDIR=$(PREFIX)/man/man1
+@@ -101,8 +99,11 @@
+ # Choose one of the following CFLAGS/CC definitions:
+ # If you are using gcc, you probably don't need to change anything here.
- #
-@@ -168,10 +166,10 @@
-
++# FreeBSD:
++CFLAGS+= -s $(DEFS)
++
+ # Linux:
+-CFLAGS = -O2 -s $(DEFS) -Wall
++#CFLAGS = -O2 -s $(DEFS) -Wall
- #
--# add your proper install stuff
-+# BSD specific install stuff
- #
- install:
+ # AIX (xlC on aix 4):
+ #CFLAGS = -O2 -s $(DEFS)
+@@ -170,7 +171,6 @@
+ if [ ! -d $(LIBDIR)/mpage ] ; then mkdir -p $(LIBDIR)/mpage ; fi
+ if [ ! -d $(BINDIR) ] ; then mkdir -p $(BINDIR) ; fi
+ if [ ! -d $(MANDIR) ] ; then mkdir -p $(MANDIR) ; fi
- cp mpage$(E) $(BINDIR)
- cp mpage.1 $(MANDIR)
+- -cp Encodings/* $(LIBDIR)/mpage
+- -chmod 644 $(LIBDIR)/mpage/*
+ $(BSD_INSTALL_PROGRAM) mpage$(E) $(BINDIR)
+ $(BSD_INSTALL_MAN) mpage.1 $(MANDIR)
- if [ ! -d $(LIBDIR)/mpage ] ; then mkdir $(LIBDIR)/mpage ; fi
-- -cp Encodings/* $(LIBDIR)/mpage
+ $(BSD_INSTALL_DATA) Encodings/* $(LIBDIR)/mpage
diff --git a/print/mpage/pkg-plist b/print/mpage/pkg-plist
index 3fab8cd0ac6..7e9fa655a73 100644
--- a/print/mpage/pkg-plist
+++ b/print/mpage/pkg-plist
@@ -2,6 +2,7 @@ bin/mpage
share/mpage/CP850.PC
share/mpage/ISO+STD+OTH
share/mpage/ISO-8859.1
+share/mpage/ISO-8859.15
share/mpage/ISO-Latin.1
share/mpage/ISO-Latin.2
@dirrm share/mpage