diff options
author | miwi <miwi@FreeBSD.org> | 2007-10-12 06:02:55 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-10-12 06:02:55 +0800 |
commit | 325628be519c0b9ece7398ebfbe3ed3a7d84ac0f (patch) | |
tree | 2ca7d97fd0b834cb1a42512b46e794a41933b434 /graphics | |
parent | 84210356c7ee1f8b3fa46f8da6997cf72325c8fd (diff) | |
download | freebsd-ports-gnome-325628be519c0b9ece7398ebfbe3ed3a7d84ac0f.tar.gz freebsd-ports-gnome-325628be519c0b9ece7398ebfbe3ed3a7d84ac0f.tar.zst freebsd-ports-gnome-325628be519c0b9ece7398ebfbe3ed3a7d84ac0f.zip |
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>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/gimp-lqr-plugin/Makefile | 44 | ||||
-rw-r--r-- | graphics/gimp-lqr-plugin/distinfo | 3 | ||||
-rw-r--r-- | graphics/gimp-lqr-plugin/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/gimp-lqr-plugin/pkg-plist | 14 |
5 files changed, 67 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index b80dbb92b2a9..280fa69a1861 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -196,6 +196,7 @@ SUBDIR += gimp-gap SUBDIR += gimp-greycstoration SUBDIR += gimp-help + SUBDIR += gimp-lqr-plugin SUBDIR += gimp-manual-html SUBDIR += gimp-manual-pdf SUBDIR += gimpshop 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%% |