From owner-svn-ports-head@freebsd.org Fri Sep 18 05:16:37 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 178859CDFEC; Fri, 18 Sep 2015 05:16:37 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED67211C2; Fri, 18 Sep 2015 05:16:36 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8I5GaEr045014; Fri, 18 Sep 2015 05:16:36 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8I5GaUX045010; Fri, 18 Sep 2015 05:16:36 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201509180516.t8I5GaUX045010@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Fri, 18 Sep 2015 05:16:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397216 - in head/graphics/xpdf: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2015 05:16:37 -0000 Author: cy Date: Fri Sep 18 05:16:35 2015 New Revision: 397216 URL: https://svnweb.freebsd.org/changeset/ports/397216 Log: Don't overwrite etc/xpdfrc, use @sample instead. PR: 203187 Modified: head/graphics/xpdf/Makefile head/graphics/xpdf/files/patch-Makefile.in head/graphics/xpdf/pkg-plist Modified: head/graphics/xpdf/Makefile ============================================================================== --- head/graphics/xpdf/Makefile Fri Sep 18 05:12:12 2015 (r397215) +++ head/graphics/xpdf/Makefile Fri Sep 18 05:16:35 2015 (r397216) @@ -2,7 +2,7 @@ PORTNAME= xpdf PORTVERSION= 3.04 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics print MASTER_SITES= http://mirrors.rit.edu/zi/ \ ftp://ftp.foolabs.com/pub/xpdf/ \ Modified: head/graphics/xpdf/files/patch-Makefile.in ============================================================================== --- head/graphics/xpdf/files/patch-Makefile.in Fri Sep 18 05:12:12 2015 (r397215) +++ head/graphics/xpdf/files/patch-Makefile.in Fri Sep 18 05:16:35 2015 (r397216) @@ -1,5 +1,5 @@ --- Makefile.in.orig 2014-05-28 11:50:50.000000000 -0700 -+++ Makefile.in 2015-01-20 11:21:34.614223754 -0800 ++++ Makefile.in 2015-09-17 22:04:25.442510655 -0700 @@ -89,7 +89,9 @@ $(INSTALL_PROGRAM) xpdf/pdfinfo$(EXE) $(DESTDIR)@bindir@/pdfinfo$(EXE) $(INSTALL_PROGRAM) xpdf/pdffonts$(EXE) $(DESTDIR)@bindir@/pdffonts$(EXE) @@ -11,7 +11,7 @@ $(INSTALL_PROGRAM) xpdf/pdfimages$(EXE) $(DESTDIR)@bindir@/pdfimages$(EXE) -mkdir -p $(DESTDIR)@mandir@/man1 @X@ $(INSTALL_DATA) $(srcdir)/doc/xpdf.1 $(DESTDIR)@mandir@/man1/xpdf.1 -@@ -98,7 +100,9 @@ +@@ -98,14 +100,16 @@ $(INSTALL_DATA) $(srcdir)/doc/pdfinfo.1 $(DESTDIR)@mandir@/man1/pdfinfo.1 $(INSTALL_DATA) $(srcdir)/doc/pdffonts.1 $(DESTDIR)@mandir@/man1/pdffonts.1 $(INSTALL_DATA) $(srcdir)/doc/pdfdetach.1 $(DESTDIR)@mandir@/man1/pdfdetach.1 @@ -22,3 +22,11 @@ $(INSTALL_DATA) $(srcdir)/doc/pdfimages.1 $(DESTDIR)@mandir@/man1/pdfimages.1 -mkdir -p $(DESTDIR)@mandir@/man5 $(INSTALL_DATA) $(srcdir)/doc/xpdfrc.5 $(DESTDIR)@mandir@/man5/xpdfrc.5 + -mkdir -p $(DESTDIR)@sysconfdir@ + @if test ! -f $(DESTDIR)@sysconfdir@/xpdfrc; then \ + echo "$(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc"; \ +- $(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc; \ ++ $(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc.sample; \ + else \ + echo "# not overwriting the existing $(DESTDIR)@sysconfdir@/xpdfrc"; \ + fi Modified: head/graphics/xpdf/pkg-plist ============================================================================== --- head/graphics/xpdf/pkg-plist Fri Sep 18 05:12:12 2015 (r397215) +++ head/graphics/xpdf/pkg-plist Fri Sep 18 05:16:35 2015 (r397216) @@ -10,7 +10,6 @@ libexec/xpdf/pdftotext %%X11%%libexec/xpdf/xpdf %%X11%%bin/xpdf etc/man.d/xpdf.conf -etc/xpdfrc %%DATADIR%%/man/man1/pdfdetach.1.gz %%DATADIR%%/man/man1/pdffonts.1.gz %%DATADIR%%/man/man1/pdfimages.1.gz @@ -26,3 +25,4 @@ etc/xpdfrc %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/hello.pdf +@sample etc/xpdfrc.sample