From owner-svn-ports-head@freebsd.org Fri Jan 13 15:46:43 2017 Return-Path: Delivered-To: svn-ports-head@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 D9876CAD32C; Fri, 13 Jan 2017 15:46:43 +0000 (UTC) (envelope-from olivier@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 9E1591238; Fri, 13 Jan 2017 15:46:43 +0000 (UTC) (envelope-from olivier@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0DFkgG5031704; Fri, 13 Jan 2017 15:46:42 GMT (envelope-from olivier@FreeBSD.org) Received: (from olivier@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0DFkg8f031700; Fri, 13 Jan 2017 15:46:42 GMT (envelope-from olivier@FreeBSD.org) Message-Id: <201701131546.v0DFkg8f031700@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivier set sender to olivier@FreeBSD.org using -f From: Olivier Cochard Date: Fri, 13 Jan 2017 15:46:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431399 - in head/editors/deforaos-editor: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 15:46:44 -0000 Author: olivier Date: Fri Jan 13 15:46:42 2017 New Revision: 431399 URL: https://svnweb.freebsd.org/changeset/ports/431399 Log: Update to 0.4.0 Added: head/editors/deforaos-editor/files/ head/editors/deforaos-editor/files/patch-doc_Makefile (contents, props changed) Modified: head/editors/deforaos-editor/Makefile head/editors/deforaos-editor/distinfo head/editors/deforaos-editor/pkg-plist Modified: head/editors/deforaos-editor/Makefile ============================================================================== --- head/editors/deforaos-editor/Makefile Fri Jan 13 15:03:11 2017 (r431398) +++ head/editors/deforaos-editor/Makefile Fri Jan 13 15:46:42 2017 (r431399) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= editor -PORTVERSION= 0.3.0 -PORTREVISION= 1 +PORTVERSION= 0.4.0 CATEGORIES= editors -MASTER_SITES= http://www.defora.org/os/download/download/4326/ +MASTER_SITES= http://www.defora.org/os/download/download/4398/ PKGNAMEPREFIX= deforaos- DISTNAME= Editor-${PORTVERSION} @@ -14,17 +13,35 @@ COMMENT= DeforaOS desktop text editor LICENSE= GPLv3 -BUILD_DEPENDS= xsltproc:textproc/libxslt \ - docbook-xsl>=0:textproc/docbook-xsl - LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ - libDesktop.so:x11/deforaos-libdesktop - -MAKE_ARGS= PREFIX=${PREFIX} -USES= desktop-file-utils gettext pkgconfig -USE_GNOME= gtk20 - -MANDIRS= ${PREFIX}/share/man/man1 + libDesktop.so:x11/deforaos-libdesktop \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 + +MAKE_ARGS+= PREFIX=${PREFIX} +MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man + +USES= desktop-file-utils pkgconfig +USE_GNOME= gtk20 cairo gdkpixbuf2 + +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/editor \ Modified: head/editors/deforaos-editor/distinfo ============================================================================== --- head/editors/deforaos-editor/distinfo Fri Jan 13 15:03:11 2017 (r431398) +++ head/editors/deforaos-editor/distinfo Fri Jan 13 15:46:42 2017 (r431399) @@ -1,2 +1,3 @@ -SHA256 (Editor-0.3.0.tar.gz) = f08f3c7dacc416849eb9ce33b8d14ae0db90e8efc799b99ddb39fabcc7f98dd9 -SIZE (Editor-0.3.0.tar.gz) = 33801 +TIMESTAMP = 1484322291 +SHA256 (Editor-0.4.0.tar.gz) = 6d74ef9880c3dacd9beb25c622db23f1814d7f629ddd0ca15abac2db49e0536c +SIZE (Editor-0.4.0.tar.gz) = 25363 Added: head/editors/deforaos-editor/files/patch-doc_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/deforaos-editor/files/patch-doc_Makefile Fri Jan 13 15:46:42 2017 (r431399) @@ -0,0 +1,32 @@ +--- doc/Makefile.orig 2017-01-13 15:29:31 UTC ++++ doc/Makefile +@@ -1,4 +1,4 @@ +-TARGETS = $(OBJDIR)editor.1 $(OBJDIR)editor.html $(OBJDIR)filter.1 $(OBJDIR)filter.html ++TARGETS = $(OBJDIR)editor.1 $(OBJDIR)filter.1 + OBJDIR = + PREFIX = /usr/local + DESTDIR = +@@ -25,23 +25,17 @@ $(OBJDIR)filter.html: filter.css.xml fil + clean: + $(RM) -- $(editor.1_OBJS) $(editor.html_OBJS) $(filter.1_OBJS) $(filter.html_OBJS) + ./docbook.sh -c -P "$(PREFIX)" -- "editor.1" +- ./docbook.sh -c -P "$(PREFIX)" -- "editor.html" + ./docbook.sh -c -P "$(PREFIX)" -- "filter.1" +- ./docbook.sh -c -P "$(PREFIX)" -- "filter.html" + + distclean: clean + $(RM) -- $(TARGETS) + + install: $(TARGETS) + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)editor.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)editor.html" + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)filter.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)filter.html" + + uninstall: + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "editor.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "editor.html" + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "filter.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "filter.html" + + .PHONY: all clean distclean install uninstall Modified: head/editors/deforaos-editor/pkg-plist ============================================================================== --- head/editors/deforaos-editor/pkg-plist Fri Jan 13 15:03:11 2017 (r431398) +++ head/editors/deforaos-editor/pkg-plist Fri Jan 13 15:46:42 2017 (r431399) @@ -1,11 +1,9 @@ bin/editor bin/filter share/applications/deforaos-editor.desktop -share/doc/html/Editor/editor.html -share/doc/html/Editor/filter.html -share/locale/de/LC_MESSAGES/Editor.mo -share/locale/es/LC_MESSAGES/Editor.mo -share/locale/fr/LC_MESSAGES/Editor.mo -share/locale/it/LC_MESSAGES/Editor.mo -share/man/man1/editor.1.gz -share/man/man1/filter.1.gz +%%PORTDOCS%%man/man1/editor.1.gz +%%PORTDOCS%%man/man1/filter.1.gz +%%NLS%%share/locale/de/LC_MESSAGES/Editor.mo +%%NLS%%share/locale/es/LC_MESSAGES/Editor.mo +%%NLS%%share/locale/fr/LC_MESSAGES/Editor.mo +%%NLS%%share/locale/it/LC_MESSAGES/Editor.mo