diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-05-14 16:12:01 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-05-14 16:12:01 +0000 |
commit | 44f4b96abbcee19c39d56f8c40e2d7b42b939b93 (patch) | |
tree | 1e364e1a8cd81cea72fbf7f8dcfe79b451b3575a /print | |
parent | fd302572cc6cf66b12634812ea1e899e60465ec3 (diff) | |
download | ports-44f4b96abbcee19c39d56f8c40e2d7b42b939b93.tar.gz ports-44f4b96abbcee19c39d56f8c40e2d7b42b939b93.zip |
- Fix build with clang
- Update MASTER_SITES
- Support PLIST_FILES
PR: 178578
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=318167
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostview/Makefile | 15 | ||||
-rw-r--r-- | print/ghostview/files/patch-Dir.c | 10 | ||||
-rw-r--r-- | print/ghostview/files/patch-aa | 11 | ||||
-rw-r--r-- | print/ghostview/pkg-plist | 2 |
4 files changed, 25 insertions, 13 deletions
diff --git a/print/ghostview/Makefile b/print/ghostview/Makefile index 82a6d716aac2..f47ba9814708 100644 --- a/print/ghostview/Makefile +++ b/print/ghostview/Makefile @@ -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@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 diff --git a/print/ghostview/files/patch-Dir.c b/print/ghostview/files/patch-Dir.c new file mode 100644 index 000000000000..2964dde8131a --- /dev/null +++ b/print/ghostview/files/patch-Dir.c @@ -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> diff --git a/print/ghostview/files/patch-aa b/print/ghostview/files/patch-aa index da80bc7b08ef..8be2e3ad3f4d 100644 --- a/print/ghostview/files/patch-aa +++ b/print/ghostview/files/patch-aa @@ -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 diff --git a/print/ghostview/pkg-plist b/print/ghostview/pkg-plist deleted file mode 100644 index 92d834f15bf3..000000000000 --- a/print/ghostview/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/ghostview -lib/X11/app-defaults/Ghostview |