Date: Fri, 13 Jan 2017 17:30:23 +0000 (UTC) From: Olivier Cochard <olivier@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431403 - in head/print/deforaos-pdfviewer: . files Message-ID: <201701131730.v0DHUNER072795@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olivier Date: Fri Jan 13 17:30:23 2017 New Revision: 431403 URL: https://svnweb.freebsd.org/changeset/ports/431403 Log: Update to 0.0.2 Added: head/print/deforaos-pdfviewer/files/ head/print/deforaos-pdfviewer/files/patch-doc_Makefile (contents, props changed) head/print/deforaos-pdfviewer/pkg-plist (contents, props changed) Modified: head/print/deforaos-pdfviewer/Makefile head/print/deforaos-pdfviewer/distinfo Modified: head/print/deforaos-pdfviewer/Makefile ============================================================================== --- head/print/deforaos-pdfviewer/Makefile Fri Jan 13 16:54:55 2017 (r431402) +++ head/print/deforaos-pdfviewer/Makefile Fri Jan 13 17:30:23 2017 (r431403) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= pdfviewer -PORTVERSION= 0.0.1 -PORTREVISION= 9 +PORTVERSION= 0.0.2 CATEGORIES= print -MASTER_SITES= http://www.defora.org/os/download/download/3686/ +MASTER_SITES= http://www.defora.org/os/download/download/4431/ PKGNAMEPREFIX= deforaos- DISTNAME= PDFViewer-${PORTVERSION} @@ -16,12 +15,35 @@ LICENSE= GPLv3 LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop \ - libpoppler-glib.so:graphics/poppler-glib + libpoppler-glib.so:graphics/poppler-glib \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 MAKE_ARGS+= PREFIX=${PREFIX} USES= desktop-file-utils pkgconfig -USE_GNOME= gtk20 -PLIST_FILES= bin/pdfviewer \ - share/applications/pdfviewer.desktop +USE_GNOME= gtk20 gdkpixbuf2 cairo +MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man + +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes +NLS_USES= gettext +DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ + ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl + +post-patch-DOCS-off: + ${REINPLACE_CMD} 's|data doc po|data po|' \ + ${WRKSRC}/Makefile + +post-patch-NLS-off: + ${REINPLACE_CMD} 's|po src tools|src tools|' \ + ${WRKSRC}/Makefile + +post-patch: + @${REINPLACE_CMD} 's|-Wl,-pie||g' \ + ${WRKSRC}/tools/Makefile \ + ${WRKSRC}/src/Makefile + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfviewer .include <bsd.port.mk> Modified: head/print/deforaos-pdfviewer/distinfo ============================================================================== --- head/print/deforaos-pdfviewer/distinfo Fri Jan 13 16:54:55 2017 (r431402) +++ head/print/deforaos-pdfviewer/distinfo Fri Jan 13 17:30:23 2017 (r431403) @@ -1,2 +1,3 @@ -SHA256 (PDFViewer-0.0.1.tar.gz) = a2fcb65413d6ee9955792e27cc9f5a9e784b0ad19d68760fc9d8e9fa42bb77c5 -SIZE (PDFViewer-0.0.1.tar.gz) = 20405 +TIMESTAMP = 1484322430 +SHA256 (PDFViewer-0.0.2.tar.gz) = f02c587f0aefbd2d7f681543938b55dfa8a53728d59087407e664c827e50c004 +SIZE (PDFViewer-0.0.2.tar.gz) = 28788 Added: head/print/deforaos-pdfviewer/files/patch-doc_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/deforaos-pdfviewer/files/patch-doc_Makefile Fri Jan 13 17:30:23 2017 (r431403) @@ -0,0 +1,27 @@ +--- doc/Makefile.orig 2017-01-13 17:04:41 UTC ++++ doc/Makefile +@@ -1,4 +1,4 @@ +-TARGETS = $(OBJDIR)pdfviewer.1 $(OBJDIR)pdfviewer.html $(OBJDIR)pdfviewer.xml ++TARGETS = $(OBJDIR)pdfviewer.1 $(OBJDIR)pdfviewer.xml + OBJDIR = + PREFIX = /usr/local + DESTDIR = +@@ -22,7 +22,6 @@ $(OBJDIR)pdfviewer.xml: pdfviewer.xml.in + clean: + $(RM) -- $(pdfviewer.1_OBJS) $(pdfviewer.html_OBJS) $(pdfviewer.xml_OBJS) + ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pdfviewer.1" +- ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pdfviewer.html" + ../tools/subst.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pdfviewer.xml" + + distclean: clean +@@ -30,10 +29,8 @@ distclean: clean + + install: $(TARGETS) + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)pdfviewer.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)pdfviewer.html" + + uninstall: + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "pdfviewer.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "pdfviewer.html" + + .PHONY: all clean distclean install uninstall Added: head/print/deforaos-pdfviewer/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/deforaos-pdfviewer/pkg-plist Fri Jan 13 17:30:23 2017 (r431403) @@ -0,0 +1,5 @@ +bin/pdfviewer +share/applications/deforaos-pdfviewer.desktop +%%NLS%%share/locale/es/LC_MESSAGES/PDFViewer.mo +%%NLS%%share/locale/fr/LC_MESSAGES/PDFViewer.mo +%%PORTDOCS%%man/man1/pdfviewer.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701131730.v0DHUNER072795>