aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2014-04-11 07:07:40 +0800
committerlioux <lioux@FreeBSD.org>2014-04-11 07:07:40 +0800
commit0eadccdda7e10171751d09a7e81d6968bf6913e9 (patch)
tree91e791752d9e8111105eb66f63fd72ad54cf0ed5 /graphics
parenta690830f8d220abc996b5c8c80373ff34953a85d (diff)
downloadfreebsd-ports-gnome-0eadccdda7e10171751d09a7e81d6968bf6913e9.tar.gz
freebsd-ports-gnome-0eadccdda7e10171751d09a7e81d6968bf6913e9.tar.zst
freebsd-ports-gnome-0eadccdda7e10171751d09a7e81d6968bf6913e9.zip
New port jagged-border: GIMP script to create a jagged border around an image
Approved by: eadler (mentor)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/gimp-jagged-border-script/Makefile40
-rw-r--r--graphics/gimp-jagged-border-script/distinfo2
-rw-r--r--graphics/gimp-jagged-border-script/pkg-descr13
4 files changed, 56 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 6be453cde40b..97d45241cb36 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -270,6 +270,7 @@
SUBDIR += gimp-gap
SUBDIR += gimp-gmic-plugin
SUBDIR += gimp-help
+ SUBDIR += gimp-jagged-border-script
SUBDIR += gimp-lensfun-plugin
SUBDIR += gimp-lqr-plugin
SUBDIR += gimp-manual-html
diff --git a/graphics/gimp-jagged-border-script/Makefile b/graphics/gimp-jagged-border-script/Makefile
new file mode 100644
index 000000000000..08077ee1b324
--- /dev/null
+++ b/graphics/gimp-jagged-border-script/Makefile
@@ -0,0 +1,40 @@
+# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= jagged-border
+PORTVERSION= 0.2009.11.12
+CATEGORIES= graphics
+MASTER_SITES= http://registry.gimp.org/files/
+PKGNAMEPREFIX= gimp-
+PKGNAMESUFFIX= -scripts
+DISTNAME= script-fu-jagged-border.scm
+EXTRACT_SUFX=
+EXTRACT_ONLY=
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= GIMP script to create a jagged border around an image
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= ${LOCALBASE}/bin/gimp:${PORTSDIR}/graphics/gimp-app
+
+USES= dos2unix
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+GIMP_SCRIPTS_DIR?= share/gimp/scripts
+
+PLIST_FILES= ${GIMP_SCRIPTS_DIR}/${DISTNAME}
+
+# installed dirs
+PLIST_DIRSTRY= ${GIMP_SCRIPTS_DIR} \
+ share/gimp
+
+post-extract:
+ @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${GIMP_SCRIPTS_DIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/${GIMP_SCRIPTS_DIR}/
+
+.include <bsd.port.mk>
diff --git a/graphics/gimp-jagged-border-script/distinfo b/graphics/gimp-jagged-border-script/distinfo
new file mode 100644
index 000000000000..ebbe5d6266b9
--- /dev/null
+++ b/graphics/gimp-jagged-border-script/distinfo
@@ -0,0 +1,2 @@
+SHA256 (script-fu-jagged-border.scm) = 600006eea19d4c7ef62de402732c876152f009bfab221d8092004d19bd8f8d84
+SIZE (script-fu-jagged-border.scm) = 9125
diff --git a/graphics/gimp-jagged-border-script/pkg-descr b/graphics/gimp-jagged-border-script/pkg-descr
new file mode 100644
index 000000000000..fff52956ec87
--- /dev/null
+++ b/graphics/gimp-jagged-border-script/pkg-descr
@@ -0,0 +1,13 @@
+[ edited excerpt from www site ]
+
+GIMP plugin that creates a white (or black) border around an image
+that merges in with the image so that on a larger white (or black)
+background, the image appears to have a ragged border.
+
+This is similar to the GIMP's Fuzzy Border, but it adapts its
+jaggedness to the image. (Also unlike Fuzzy Border, it is deterministic,
+it does not depend on random number seeds.)
+
+The plugin can be found under "Filters > theilr > jagged Border"
+
+WWW: http://registry.gimp.org/node/20292