Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 23:08:40 +0000 (UTC)
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348898 - in head/graphics: . gimp-beautify-plugin gimp-beautify-plugin/files
Message-ID:  <201403232308.s2NN8etV046827@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lioux
Date: Sun Mar 23 23:08:39 2014
New Revision: 348898
URL: http://svnweb.freebsd.org/changeset/ports/348898
QAT: https://qat.redports.org/buildarchive/r348898/

Log:
  New port Beautify: a set of GIMP plugins to both quickly and easily "beautify" photo
  
  Approved by:	bdrewery (mentor)

Added:
  head/graphics/gimp-beautify-plugin/
  head/graphics/gimp-beautify-plugin/Makefile   (contents, props changed)
  head/graphics/gimp-beautify-plugin/distinfo   (contents, props changed)
  head/graphics/gimp-beautify-plugin/files/
  head/graphics/gimp-beautify-plugin/files/patch-Makefile   (contents, props changed)
  head/graphics/gimp-beautify-plugin/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Mar 23 23:07:58 2014	(r348897)
+++ head/graphics/Makefile	Sun Mar 23 23:08:39 2014	(r348898)
@@ -262,6 +262,7 @@
     SUBDIR += gimmage
     SUBDIR += gimp
     SUBDIR += gimp-app
+    SUBDIR += gimp-beautify-plugin
     SUBDIR += gimp-data-extras
     SUBDIR += gimp-focusblur-plugin
     SUBDIR += gimp-gap

Added: head/graphics/gimp-beautify-plugin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-beautify-plugin/Makefile	Sun Mar 23 23:08:39 2014	(r348898)
@@ -0,0 +1,60 @@
+# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	beautify
+PORTVERSION=	2012.08.12.00
+CATEGORIES=	graphics
+PKGNAMEPREFIX=	gimp-
+PKGNAMESUFFIX=	-plugin
+
+MAINTAINER=	lioux@FreeBSD.org
+COMMENT=	GIMP plug-ins to both quickly and easily beautify photo
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig \
+		${LOCALBASE}/libdata/pkgconfig/freetype2.pc:${PORTSDIR}/print/freetype2 \
+		${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app
+RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig \
+		${LOCALBASE}/libdata/pkgconfig/freetype2.pc:${PORTSDIR}/print/freetype2 \
+		${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	hejiann
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	e209c8d
+
+USES=		gettext gmake
+USE_GCC=	yes
+USE_GNOME=	atk cairo gdkpixbuf2 gtk20
+USE_XORG=	x11 xcomposite xcursor xdamage xext xfixes xi xinerama xrandr xrender
+
+PLUGIN_DIR?=	libexec/gimp/2.2/plug-ins/
+PLUGINS=	beautify \
+		border \
+		simple-border \
+		skin-whitening
+
+# installed files
+.for plugin in ${PLUGINS}
+PLIST_FILES+=	${PLUGIN_DIR}/${plugin}
+.endfor
+
+# installed dirs
+PLIST_DIRSTRY=	libexec/gimp/2.2/plug-ins \
+		libexec/gimp/2.2 \
+		libexec/gimp
+
+post-patch:
+	@${REINPLACE_CMD} \
+		-e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \
+		-e 's|gdk-pixbuf-csource|${LOCALBASE}/bin/gdk-pixbuf-csource|' \
+		${WRKSRC}/Makefile
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
+.for plugin in ${PLUGINS}
+	${INSTALL_PROGRAM} ${WRKSRC}/${plugin} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
+.endfor
+
+.include <bsd.port.mk>

Added: head/graphics/gimp-beautify-plugin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-beautify-plugin/distinfo	Sun Mar 23 23:08:39 2014	(r348898)
@@ -0,0 +1,2 @@
+SHA256 (beautify-2012.08.12.00.tar.gz) = 78aa8db61b9d4f7130f0be3ce348822651bf612415c11a1176aa100e75bdb056
+SIZE (beautify-2012.08.12.00.tar.gz) = 24499201

Added: head/graphics/gimp-beautify-plugin/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-beautify-plugin/files/patch-Makefile	Sun Mar 23 23:08:39 2014	(r348898)
@@ -0,0 +1,10 @@
+--- Makefile.orig	2014-03-19 21:58:10.000000000 -0300
++++ Makefile	2014-03-19 22:24:08.000000000 -0300
+@@ -13,7 +13,6 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ 
+-CC = gcc
+ 
+ GIMPTOOL = gimptool-2.0
+ 

Added: head/graphics/gimp-beautify-plugin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-beautify-plugin/pkg-descr	Sun Mar 23 23:08:39 2014	(r348898)
@@ -0,0 +1,3 @@
+GIMP Beautify is a set of GIMP plug-ins to both quickly and easily beautify photos
+
+WWW: https://github.com/hejiann/beautify/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403232308.s2NN8etV046827>