Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2012 11:06:57 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304575 - head/graphics/mupdf
Message-ID:  <201209201106.q8KB6vr1007331@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Thu Sep 20 11:06:56 2012
New Revision: 304575
URL: http://svn.freebsd.org/changeset/ports/304575

Log:
  - update to 1.1
  - use BSD_INSTALL_DATA for static lib to keep symbols
  
  while here:
  - convert Makefile header into two-line format
  - remove LICENSE_FILE, unneeded for GPLv3
  - switch to USE_PKGCONFIG
  - remove quotes from option description
  - change bsd.port.[pre|post].mk with just bsd.port.mk
  - whitespace fixes in pkg-descr
  
  PR:		171795
  Submitted by:	Martin Dieringer <martin.dieringer at gmx dot de>
  Approved by:	Zhihao Yuan <lichray at gmail dot com> (maintainer)

Modified:
  head/graphics/mupdf/Makefile
  head/graphics/mupdf/distinfo
  head/graphics/mupdf/pkg-descr
  head/graphics/mupdf/pkg-plist

Modified: head/graphics/mupdf/Makefile
==============================================================================
--- head/graphics/mupdf/Makefile	Thu Sep 20 10:15:34 2012	(r304574)
+++ head/graphics/mupdf/Makefile	Thu Sep 20 11:06:56 2012	(r304575)
@@ -1,11 +1,8 @@
-# New ports collection makefile for:	mupdf
-# Date created:		2009-08-07
-# Whom:			Martin Dieringer <martin.dieringer@gmx.de>
-#
+# Created by: Martin Dieringer <martin.dieringer@gmx.de>
 # $FreeBSD$
 
 PORTNAME=	mupdf
-PORTVERSION=	1.0
+PORTVERSION=	1.1
 PORTEPOCH=	1
 CATEGORIES=	graphics
 MASTER_SITES=	GOOGLE_CODE \
@@ -16,7 +13,6 @@ MAINTAINER=	lichray@gmail.com
 COMMENT=	Lightweight PDF viewer and toolkit
 
 LICENSE=	GPLv3
-LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2 \
 		jpeg:${PORTSDIR}/graphics/jpeg \
@@ -26,8 +22,8 @@ LIB_DEPENDS=	freetype:${PORTSDIR}/print/
 USE_GMAKE=	yes
 MAKE_ARGS+=	build=release prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man
 USE_XORG=	x11 xext
-USE_GNOME=	pkgconfig
-MAN1=		mupdf.1 mupdfclean.1 mudraw.1 mupdfshow.1
+USE_PKGCONFIG=	build
+MAN1=		mupdf.1 mubusy.1 mudraw.1
 
 MAKE_JOBS_SAFE=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
@@ -35,7 +31,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 OPTIONS_DEFINE=	SCROLL
 OPTIONS_DEFAULT=SCROLL
 
-SCROLL_DESC=	"Build with scroll hacks"
+SCROLL_DESC=	Build with scroll hacks
 
 .include <bsd.port.options.mk>
 
@@ -53,7 +49,7 @@ post-patch:	.SILENT
 	${REINPLACE_CMD} \
 		-e '/install:/,/^$$/ { /-d/d; }' \
 		-e '/install.*bindir)$$/s/install/$$(BSD_INSTALL_PROGRAM)/' \
-		-e '/install.*libdir)$$/s/install/$$(BSD_INSTALL_LIB)/' \
+		-e '/install.*libdir)$$/s/install/$$(BSD_INSTALL_DATA)/' \
 		-e '/install.*incdir)$$/s/install/$$(BSD_INSTALL_DATA)/' \
 		-e '/install.*man1$$/s/install/$$(BSD_INSTALL_MAN)/' \
 		${WRKSRC}/Makefile
@@ -61,5 +57,4 @@ post-patch:	.SILENT
 		-e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/Makerules
 
-.include <bsd.port.pre.mk>
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/mupdf/distinfo
==============================================================================
--- head/graphics/mupdf/distinfo	Thu Sep 20 10:15:34 2012	(r304574)
+++ head/graphics/mupdf/distinfo	Thu Sep 20 11:06:56 2012	(r304575)
@@ -1,2 +1,2 @@
-SHA256 (mupdf-1.0-source.tar.gz) = 4f5e12625f7f827f6eb5606026c9a7a7dbdeaf935fcea3bc173ed8d469698ec2
-SIZE (mupdf-1.0-source.tar.gz) = 4208530
+SHA256 (mupdf-1.1-source.tar.gz) = e54666bbe1d9f0a5464349bfbeffcf676c4a0fcad3efb89eba1f20d4ac991f34
+SIZE (mupdf-1.1-source.tar.gz) = 4281735

Modified: head/graphics/mupdf/pkg-descr
==============================================================================
--- head/graphics/mupdf/pkg-descr	Thu Sep 20 10:15:34 2012	(r304574)
+++ head/graphics/mupdf/pkg-descr	Thu Sep 20 11:06:56 2012	(r304575)
@@ -1,13 +1,13 @@
-MuPDF is a lightweight PDF viewer and toolkit written in portable C. 
+MuPDF is a lightweight PDF viewer and toolkit written in portable C.
 
 The renderer in MuPDF is tailored for high quality anti-aliased graphics. It
 renders text with metrics and spacing accurate to within fractions of a
 pixel for the highest fidelity in reproducing the look of a printed page on
-screen. 
+screen.
 
 MuPDF has a small footprint. A binary that includes the standard Roman fonts
 is only one megabyte. A build with full CJK support (including an Asian
-font) is approximately five megabytes. 
+font) is approximately five megabytes.
 
 MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit
 provides a simple API for accessing the internal structures of the PDF

Modified: head/graphics/mupdf/pkg-plist
==============================================================================
--- head/graphics/mupdf/pkg-plist	Thu Sep 20 10:15:34 2012	(r304574)
+++ head/graphics/mupdf/pkg-plist	Thu Sep 20 11:06:56 2012	(r304575)
@@ -1,9 +1,6 @@
+bin/mubusy
 bin/mupdf
-bin/mupdfclean
 bin/mudraw
-bin/mupdfextract
-bin/mupdfinfo
-bin/mupdfshow
 include/fitz.h
 include/memento.h
 include/mucbz.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209201106.q8KB6vr1007331>