New port ez-perspective 0.1.2: GIMP plugin to sharpen by increasing contrast in high frequency space

Approved by:	eadler (mentor)
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2014-04-07 23:51:58 +00:00
parent 03105b9640
commit c83d1bc648
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350553
5 changed files with 71 additions and 0 deletions

View File

@ -265,6 +265,7 @@
SUBDIR += gimp-beautify-plugin
SUBDIR += gimp-data-extras
SUBDIR += gimp-elsamuko-script
SUBDIR += gimp-ez-perspective-plugin
SUBDIR += gimp-focusblur-plugin
SUBDIR += gimp-gap
SUBDIR += gimp-gmic-plugin

View File

@ -0,0 +1,51 @@
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= ez-perspective
PORTVERSION= 0.1.2
CATEGORIES= graphics
MASTER_SITES= http://registry.gimp.org/files/
PKGNAMEPREFIX= gimp-
PKGNAMESUFFIX= -plugin
DISTNAME= ${PORTNAME}.py
MAINTAINER= lioux@FreeBSD.org
COMMENT= GIMP plugin to sharpen by increasing contrast in high frequency space
LICENSE= EZPERSPECTIVE
LICENSE_NAME= End User License Agreement
LICENSE_FILE= ${FILESDIR}/LICENSE
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
LICENSE_DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app \
${LOCALBASE}/libexec/gimp/2.2/python/gimpfu.py:${PORTSDIR}/graphics/py-gimp
USES= zip
USE_PYTHON_RUN= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR}
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins/
# installed files
PLIST_FILES= %%PLUGIN_DIR%%/${DISTNAME}
# installed dirs
PLIST_DIRSTRY= libexec/gimp/2.2/plug-ins \
libexec/gimp/2.2 \
libexec/gimp
post-patch:
@${REINPLACE_CMD} \
-e 's|/usr/bin/python|${PYTHON_CMD}|' \
${WRKSRC}/${DISTNAME}
do-install:
# plugin
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (ez-perspective.py.zip) = 276ce9efeaf75d0cd50d36f29166f95481fb157f4ee09bbb867b5bde92f960be
SIZE (ez-perspective.py.zip) = 5744

View File

@ -0,0 +1,10 @@
[ License information extracted from source code. Read the plug-in source code to make sure this is the correct license. You've been warned. ]
By Nils R. Barth, 2010 June 28, Portland, OR, USA
I dedicate this program to the Public Domain, and claim no rights to it.
Formally, under the Creative Commons CC0 license:
To the extent possible under law, I, Nils Roland Barth have waived all copyright and
related or neighboring rights to this program.
This work is published from the United States of America.

View File

@ -0,0 +1,7 @@
GIMP plug-in particularly well-suited for the needs of photographers
seeking to correct perspective, but flexible enough to be used by
all those wishing to add perspective to an otherwise flat scene.
The plugin can be found under "Filters > Distorts > EZ Perspective"
WWW: http://registry.gimp.org/node/24537