aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/trueprint/Makefile7
-rw-r--r--print/trueprint/distinfo6
-rw-r--r--print/trueprint/files/patch-aa10
-rw-r--r--print/trueprint/files/patch-src_getopt.c11
-rw-r--r--print/trueprint/pkg-plist2
5 files changed, 19 insertions, 17 deletions
diff --git a/print/trueprint/Makefile b/print/trueprint/Makefile
index ae1ab19486b4..60ca85873bdf 100644
--- a/print/trueprint/Makefile
+++ b/print/trueprint/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= trueprint
-PORTVERSION= 5.2
-PORTREVISION= 1
+PORTVERSION= 5.3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= trueprint
@@ -16,9 +15,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Print program listings on postscript printer
USE_GMAKE= yes
+USE_GETTEXT= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib -lintl"
MAN1= trueprint.1
INFO= trueprint
+PLIST_FILES= bin/trueprint
+
.include <bsd.port.mk>
diff --git a/print/trueprint/distinfo b/print/trueprint/distinfo
index aad24c877d97..7db7eb33e6a2 100644
--- a/print/trueprint/distinfo
+++ b/print/trueprint/distinfo
@@ -1,3 +1,3 @@
-MD5 (trueprint-5.2.tar.gz) = 00ed6ded03f883afdb48ba9dfb7bc49e
-SHA256 (trueprint-5.2.tar.gz) = d9eac1c3960833f18a12f8b265b98e5150ddad82a0ed452b700d23e8915a0c41
-SIZE (trueprint-5.2.tar.gz) = 168434
+MD5 (trueprint-5.3.tar.gz) = 0615d55e45ca5131001b8e49bc330995
+SHA256 (trueprint-5.3.tar.gz) = 3993504293eefcaf1b48056d4eabe5554075cb4ee3c3996e528ebbae79ff0fb6
+SIZE (trueprint-5.3.tar.gz) = 175700
diff --git a/print/trueprint/files/patch-aa b/print/trueprint/files/patch-aa
deleted file mode 100644
index b6b4da11c87c..000000000000
--- a/print/trueprint/files/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
---- index.c.orig Thu Feb 17 14:07:51 2000
-+++ index.c Thu Feb 17 14:08:04 2000
-@@ -14,6 +14,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <sys/types.h>
- #include <sys/stat.h>
- #include <unistd.h>
-
diff --git a/print/trueprint/files/patch-src_getopt.c b/print/trueprint/files/patch-src_getopt.c
new file mode 100644
index 000000000000..0d918bf2eaff
--- /dev/null
+++ b/print/trueprint/files/patch-src_getopt.c
@@ -0,0 +1,11 @@
+--- src/getopt.c.orig 2000-02-17 03:12:38.000000000 +0100
++++ src/getopt.c 2008-04-14 23:51:02.000000000 +0200
+@@ -34,6 +34,8 @@
+ #include <config.h>
+ #endif
+
++#include <string.h>
++
+ #if !defined (__STDC__) || !__STDC__
+ /* This is a separate conditional since some stdc systems
+ reject `defined (const)'. */
diff --git a/print/trueprint/pkg-plist b/print/trueprint/pkg-plist
deleted file mode 100644
index f1c23d86e0b0..000000000000
--- a/print/trueprint/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/trueprint
-lib/printers