From owner-svn-ports-all@freebsd.org Wed Mar 23 14:06:10 2016 Return-Path: Delivered-To: svn-ports-all@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 1D393ADBC9B; Wed, 23 Mar 2016 14:06:10 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 E4C311D31; Wed, 23 Mar 2016 14:06:09 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2NE69FH074541; Wed, 23 Mar 2016 14:06:09 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2NE68xR074539; Wed, 23 Mar 2016 14:06:08 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201603231406.u2NE68xR074539@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 23 Mar 2016 14:06:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411708 - head/graphics/djview4 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 14:06:10 -0000 Author: mat Date: Wed Mar 23 14:06:08 2016 New Revision: 411708 URL: https://svnweb.freebsd.org/changeset/ports/411708 Log: Update to 4.10.6. PR: 208209 Submitted by: tkato432 yahoo com Sponsored by: Absolight Modified: head/graphics/djview4/Makefile head/graphics/djview4/distinfo Modified: head/graphics/djview4/Makefile ============================================================================== --- head/graphics/djview4/Makefile Wed Mar 23 14:06:01 2016 (r411707) +++ head/graphics/djview4/Makefile Wed Mar 23 14:06:08 2016 (r411708) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= djview -PORTVERSION= 4.10.3 +PORTVERSION= 4.10.6 CATEGORIES= graphics MASTER_SITES= SF/djvu/DjView/${PORTVERSION:R} @@ -20,14 +20,13 @@ INSTALL_TARGET= install-strip GNU_CONFIGURE= yes USES= autoreconf desktop-file-utils gmake libtool pkgconfig \ webplugin:native +USE_GL= gl USE_XORG= sm ice xt -CONFIGURE_ARGS= --x-includes="${LOCALBASE}/include" \ - --x-libraries="${LOCALBASE}/lib" CONFIGURE_ENV= LRELEASE="${LRELEASE}" LUPDATE="${LUPDATE}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" +MAKE_ENV= V=1 WEBPLUGIN_DIR= ${PREFIX}/lib/djview4/plugins WEBPLUGIN_FILES= nsdejavu.so @@ -35,24 +34,28 @@ WEBPLUGIN_FILES= nsdejavu.so OPTIONS_SINGLE= QT OPTIONS_SINGLE_QT= QT4 QT5 OPTIONS_DEFAULT= QT5 +QT_DESC= Qt toolkit QT4_USE= QT4=gui,network,opengl,linguisttools_build,moc_build,qmake_build,rcc_build,uic_build QT5_USE= QT5=gui,network,opengl,printsupport,widgets,buildtools_build,linguisttools_build,qmake_build -post-patch: .SILENT +post-patch: + @${REINPLACE_CMD} -e \ + '/CXXFLAGS=$$/s|^|#| ; \ + /CFLAGS=$$/s|^|#| ; \ + s|$$OPTS -O2|$$OPTS|' ${WRKSRC}/config/acinclude.m4 + @${REINPLACE_CMD} -e \ + 's|FLAGS+=|FLAGS_RELEASE=|' ${WRKSRC}/src/Makefile.am # Change plugins directory # Add GLIB cflags and libs (including -lX*) - ${REINPLACE_CMD} -e '/^pluginsdir/s/mozilla/djview4/ ; \ - /NSDEJAVU_CFLAGS/s|$$| $$\(GLIB_CFLAGS\)| ; \ - /NSDEJAVU_LIBS/s|$$| $$\(GLIB_LIBS\) -lXt -lXext|' \ + @${REINPLACE_CMD} -e '/^pluginsdir/s/mozilla/djview4/ ; \ + /NSDEJAVU_CFLAGS/s|$$| $$(GLIB_CFLAGS)| ; \ + /NSDEJAVU_LIBS/s|$$| $$(GLIB_LIBS) -lXt -lXext|' \ ${WRKSRC}/nsdejavu/Makefile.am post-install: -# Changing file write permissions needed to strip a file installed as a script - ${CHMOD} +w ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - ${CHMOD} -w ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/djview # Create a symbolic link to match desktop file exec name - (cd ${STAGEDIR}${PREFIX}/bin && ${LN} -sf ${PORTNAME} ${PORTNAME}4) + ${LN} -sf djview ${STAGEDIR}${PREFIX}/bin/djview4 .include Modified: head/graphics/djview4/distinfo ============================================================================== --- head/graphics/djview4/distinfo Wed Mar 23 14:06:01 2016 (r411707) +++ head/graphics/djview4/distinfo Wed Mar 23 14:06:08 2016 (r411708) @@ -1,2 +1,2 @@ -SHA256 (djview-4.10.3.tar.gz) = 50b80ecddc5aec03c49882c91b3af2f42abfe8454d5ddc01fb313e3481e6ab25 -SIZE (djview-4.10.3.tar.gz) = 1119618 +SHA256 (djview-4.10.6.tar.gz) = 8446f3cd692238421a342f12baa365528445637bffb96899f319fe762fda7c21 +SIZE (djview-4.10.6.tar.gz) = 1113072