From owner-svn-ports-head@freebsd.org Thu Oct 22 14:57:02 2015 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 449B5A1A113; Thu, 22 Oct 2015 14:57:02 +0000 (UTC) (envelope-from amdmi3@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 1AA1118FC; Thu, 22 Oct 2015 14:57:02 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9MEv1js023432; Thu, 22 Oct 2015 14:57:01 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9MEv14k023430; Thu, 22 Oct 2015 14:57:01 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201510221457.t9MEv14k023430@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 22 Oct 2015 14:57:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399985 - in head/graphics/gimp-wavelet-decompose-plugin: . 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.20 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: Thu, 22 Oct 2015 14:57:02 -0000 Author: amdmi3 Date: Thu Oct 22 14:57:00 2015 New Revision: 399985 URL: https://svnweb.freebsd.org/changeset/ports/399985 Log: - Add LICENSE_FILE - Switch to options helpers - Regenerate patches with `make makepatch` - Don't remove -Wall Modified: head/graphics/gimp-wavelet-decompose-plugin/Makefile head/graphics/gimp-wavelet-decompose-plugin/files/patch-src__Makefile Modified: head/graphics/gimp-wavelet-decompose-plugin/Makefile ============================================================================== --- head/graphics/gimp-wavelet-decompose-plugin/Makefile Thu Oct 22 14:13:52 2015 (r399984) +++ head/graphics/gimp-wavelet-decompose-plugin/Makefile Thu Oct 22 14:57:00 2015 (r399985) @@ -13,57 +13,43 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Gimp plugin to losslessly decompose images into wavelet scales layers LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app -OPTIONS_DEFINE= NLS - USES= gettext gmake pkgconfig PLUGIN_DIR?= libexec/gimp/2.2/plug-ins -# l10n languages +PLIST_FILES= ${PLUGIN_DIR}/wavelet-decompose + LANGUAGES= de ru it pl -# installed files -PLIST_FILES= ${PLUGIN_DIR}/wavelet-decompose +OPTIONS_DEFINE= NLS -.include +.for language in ${LANGUAGES} +NLS_PLIST_FILES+= share/locale/${language}/LC_MESSAGES/gimp20-${PORTNAME}-plug-in.mo +.endfor post-patch: @${REINPLACE_CMD} \ -e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \ ${WRKSRC}/src/Makefile -# -## l10n -# disable l10n if appropriate -.if ! ${PORT_OPTIONS:MNLS} + +post-patch-NLS-off: @${REINPLACE_CMD} -E \ -e 's|(^all:.*)po |\1|' \ ${WRKSRC}/Makefile -.endif - -## l10n -# -.if ${PORT_OPTIONS:MNLS} -.for language in ${LANGUAGES} -PLIST_FILES+= share/locale/${language}/LC_MESSAGES/gimp20-${PORTNAME}-plug-in.mo -.endfor -.endif do-install: -# plugin @${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/src/wavelet-decompose ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} -# -## l10n -# -.if ${PORT_OPTIONS:MNLS} + +do-install-NLS-on: .for language in ${LANGUAGES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/ ${INSTALL_DATA} ${WRKSRC}/po/${language}.mo ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/gimp20-${PORTNAME}-plug-in.mo .endfor -.endif .include Modified: head/graphics/gimp-wavelet-decompose-plugin/files/patch-src__Makefile ============================================================================== --- head/graphics/gimp-wavelet-decompose-plugin/files/patch-src__Makefile Thu Oct 22 14:13:52 2015 (r399984) +++ head/graphics/gimp-wavelet-decompose-plugin/files/patch-src__Makefile Thu Oct 22 14:57:00 2015 (r399985) @@ -1,8 +1,8 @@ ---- src/Makefile.orig 2014-03-22 22:50:21.000000000 -0300 -+++ src/Makefile 2014-03-22 22:50:36.000000000 -0300 +--- src/Makefile.orig 2008-12-30 10:23:34 UTC ++++ src/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -O3 -Wall $(shell gimptool-2.0 --cflags) -+CFLAGS = $(shell gimptool-2.0 --cflags) ++CFLAGS = -Wall $(shell gimptool-2.0 --cflags) LIBS = $(shell gimptool-2.0 --libs) PLUGIN = wavelet-decompose SOURCES = plugin.c wavelet.c interface.c decompose.c