Index: head/print/deforaos-pdfviewer/Makefile =================================================================== --- head/print/deforaos-pdfviewer/Makefile (revision 431402) +++ head/print/deforaos-pdfviewer/Makefile (revision 431403) @@ -1,27 +1,49 @@ # Created by: Olivier Cochard-Labbe # $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} MAINTAINER= olivier@FreeBSD.org COMMENT= DeforaOS desktop PDF viewer 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 Index: head/print/deforaos-pdfviewer/distinfo =================================================================== --- head/print/deforaos-pdfviewer/distinfo (revision 431402) +++ head/print/deforaos-pdfviewer/distinfo (revision 431403) @@ -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 Index: head/print/deforaos-pdfviewer/files/patch-doc_Makefile =================================================================== --- head/print/deforaos-pdfviewer/files/patch-doc_Makefile (nonexistent) +++ head/print/deforaos-pdfviewer/files/patch-doc_Makefile (revision 431403) @@ -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 Property changes on: head/print/deforaos-pdfviewer/files/patch-doc_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/deforaos-pdfviewer/pkg-plist =================================================================== --- head/print/deforaos-pdfviewer/pkg-plist (nonexistent) +++ head/print/deforaos-pdfviewer/pkg-plist (revision 431403) @@ -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 Property changes on: head/print/deforaos-pdfviewer/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property