summaryrefslogtreecommitdiff
path: root/graphics/gimp-lqr-plugin
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-10-11 22:02:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-10-11 22:02:55 +0000
commit4df0775903e585394ea4db51005dc06b2eaa9d54 (patch)
tree570f88459484fd8c19ea3b3f44bc2c1e3729f1fb /graphics/gimp-lqr-plugin
parentReset maintainer due to maintainer-timeouts and no response to email. (diff)
Content-aware rescaling. Keeps the features of the image while
rescaling along a single direction. Tested on Gimp 2.2. It installs under the Layer menu now. WWW: http://web.tiscali.it/carlobaldassi/ PR: ports/117092 Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
Notes
Notes: svn path=/head/; revision=201328
Diffstat (limited to 'graphics/gimp-lqr-plugin')
-rw-r--r--graphics/gimp-lqr-plugin/Makefile44
-rw-r--r--graphics/gimp-lqr-plugin/distinfo3
-rw-r--r--graphics/gimp-lqr-plugin/pkg-descr5
-rw-r--r--graphics/gimp-lqr-plugin/pkg-plist14
4 files changed, 66 insertions, 0 deletions
diff --git a/graphics/gimp-lqr-plugin/Makefile b/graphics/gimp-lqr-plugin/Makefile
new file mode 100644
index 000000000000..717bdb856cbe
--- /dev/null
+++ b/graphics/gimp-lqr-plugin/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: gimp-lqr
+# Date created: 27 Sep 2007
+# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gimp-lqr-plugin
+PORTVERSION= 0.2.1
+CATEGORIES= graphics
+MASTER_SITES= http://web.tiscali.it/carlobaldassi/GimpLqrPlugin/ \
+ http://www.amdmi3.ru/distfiles/
+
+MAINTAINER= amdmi3@amdmi3.ru
+COMMENT= Liquid rescale GIMP plug-in
+
+LIB_DEPENDS= gimp-2.0:${PORTSDIR}/graphics/gimp-app
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GNOME= gtk20
+
+PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
+PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR}
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+.endif
+
+post-patch:
+.if defined(WITHOUT_NLS)
+ @${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in
+.else
+ @${REINPLACE_CMD} -e 's|@USE_NLS@|yes|g' ${WRKSRC}/po/Makefile.in.in
+.endif
+ @${REINPLACE_CMD} -e 's|^bindir = .*|bindir = ${PREFIX}/${PLUGIN_DIR}|g' ${WRKSRC}/src/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/graphics/gimp-lqr-plugin/distinfo b/graphics/gimp-lqr-plugin/distinfo
new file mode 100644
index 000000000000..a97e57df4e78
--- /dev/null
+++ b/graphics/gimp-lqr-plugin/distinfo
@@ -0,0 +1,3 @@
+MD5 (gimp-lqr-plugin-0.2.1.tar.gz) = eb246ad3fff45c5c76017b2eedb21cf8
+SHA256 (gimp-lqr-plugin-0.2.1.tar.gz) = 7c04e6bd05e654586458107173d79335aebf312ec37583d181ebc1443be6cd6e
+SIZE (gimp-lqr-plugin-0.2.1.tar.gz) = 384727
diff --git a/graphics/gimp-lqr-plugin/pkg-descr b/graphics/gimp-lqr-plugin/pkg-descr
new file mode 100644
index 000000000000..a4d64cbdbd3d
--- /dev/null
+++ b/graphics/gimp-lqr-plugin/pkg-descr
@@ -0,0 +1,5 @@
+Content-aware rescaling. Keeps the features of the image while
+rescaling along a single direction. Tested on Gimp 2.2. It installs
+under the Layer menu now.
+
+WWW: http://web.tiscali.it/carlobaldassi/
diff --git a/graphics/gimp-lqr-plugin/pkg-plist b/graphics/gimp-lqr-plugin/pkg-plist
new file mode 100644
index 000000000000..3a8cf5c533e3
--- /dev/null
+++ b/graphics/gimp-lqr-plugin/pkg-plist
@@ -0,0 +1,14 @@
+%%PLUGIN_DIR%%/gimp-lqr-plugin
+%%DATADIR%%/help/en/gimp-help.xml
+%%DATADIR%%/help/en/index.html
+%%DATADIR%%/help/images/dialog1.png
+%%DATADIR%%/help/images/dialog2.png
+%%DATADIR%%/help/images/wilber.png
+%%NLS%%share/locale/fr/LC_MESSAGES/gimp22-lqr-plugin.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gimp22-lqr-plugin.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gimp22-lqr-plugin.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gimp22-lqr-plugin.mo
+@dirrm %%DATADIR%%/help/images
+@dirrm %%DATADIR%%/help/en
+@dirrm %%DATADIR%%/help
+@dirrm %%DATADIR%%