svn commit: r318167 - in head/print/ghostview: . files
Martin Wilke
miwi at FreeBSD.org
Tue May 14 16:12:02 UTC 2013
Author: miwi
Date: Tue May 14 16:12:01 2013
New Revision: 318167
URL: http://svnweb.freebsd.org/changeset/ports/318167
Log:
- Fix build with clang
- Update MASTER_SITES
- Support PLIST_FILES
PR: 178578
Submitted by: Ports Fury
Added:
head/print/ghostview/files/patch-Dir.c (contents, props changed)
Deleted:
head/print/ghostview/pkg-plist
Modified:
head/print/ghostview/Makefile (contents, props changed)
head/print/ghostview/files/patch-aa (contents, props changed)
Modified: head/print/ghostview/Makefile
==============================================================================
--- head/print/ghostview/Makefile Tue May 14 16:09:04 2013 (r318166)
+++ head/print/ghostview/Makefile Tue May 14 16:12:01 2013 (r318167)
@@ -1,22 +1,17 @@
-# New ports collection makefile for: ghostview
-# Date created: 21 October 1994
-# Whom: jkh
-#
+# Created by: jkh
# $FreeBSD$
-#
PORTNAME= ghostview
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= http://ftp.gnu.org/old-gnu/ghostview/ \
- ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/ghostview/
+ http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/gnu/ghostview/
MAINTAINER= ports at FreeBSD.org
-COMMENT= An X11 front-end for ghostscript, the GNU postscript previewer
+COMMENT= X11 front-end for ghostscript, the GNU postscript previewer
LICENSE= GPLv2 # (or later)
-LICENSE_FILE= ${WRKSRC}/COPYING
USE_IMAKE= yes
USE_XORG= xbitmaps xaw
@@ -24,8 +19,8 @@ USE_GHOSTSCRIPT_RUN= yes
MAKE_JOBS_SAFE= yes
MAN1= ghostview.1
-
-CFLAGS+= -DUSG
+PLIST_FILES= bin/ghostview \
+ lib/X11/app-defaults/Ghostview
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
Added: head/print/ghostview/files/patch-Dir.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/ghostview/files/patch-Dir.c Tue May 14 16:12:01 2013 (r318167)
@@ -0,0 +1,10 @@
+--- Dir.c.orig
++++ Dir.c
+@@ -25,6 +25,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #ifdef SEL_FILE_IGNORE_CASE
+ #include <ctype.h>
Modified: head/print/ghostview/files/patch-aa
==============================================================================
--- head/print/ghostview/files/patch-aa Tue May 14 16:09:04 2013 (r318166)
+++ head/print/ghostview/files/patch-aa Tue May 14 16:12:01 2013 (r318167)
@@ -1,6 +1,15 @@
--- misc.c.orig Sat Jul 24 03:29:12 1993
+++ misc.c Wed Jun 5 22:41:39 2002
-@@ -60,8 +60,9 @@
+@@ -24,6 +24,8 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
++
+ #ifndef SEEK_SET
+ #define SEEK_SET 0
+ #endif
+@@ -60,8 +62,9 @@
#ifdef VMS
#include <perror.h>
#else
More information about the svn-ports-all
mailing list