Date: Wed, 23 Mar 2016 14:06:08 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411708 - head/graphics/djview4 Message-ID: <201603231406.u2NE68xR074539@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603231406.u2NE68xR074539>