svn commit: r387526 - head/graphics/gimp-resynthesizer
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed May 27 00:02:06 UTC 2015
Author: amdmi3
Date: Wed May 27 00:02:04 2015
New Revision: 387526
URL: https://svnweb.freebsd.org/changeset/ports/387526
Log:
- Switch to USES=autoreconf
- Add LICENSE
- Improve gimp plugin dir handling
- Add missing localization file to plist
Modified:
head/graphics/gimp-resynthesizer/Makefile
head/graphics/gimp-resynthesizer/pkg-plist
Modified: head/graphics/gimp-resynthesizer/Makefile
==============================================================================
--- head/graphics/gimp-resynthesizer/Makefile Tue May 26 23:47:18 2015 (r387525)
+++ head/graphics/gimp-resynthesizer/Makefile Wed May 27 00:02:04 2015 (r387526)
@@ -4,13 +4,15 @@
PORTNAME= resynthesizer
PORTVERSION= 2.0
DISTVERSIONPREFIX= v
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
PKGNAMEPREFIX= gimp-
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Gimp plug-in for texture synthesis
+LICENSE= GPLv2 # or later (COPYING has GPLv3)
+
RUN_DEPENDS= ${LOCALBASE}/libexec/gimp/2.2/python/gimpfu.py:${PORTSDIR}/graphics/py-gimp
BUILD_DEPENDS= intltool-extract:${PORTSDIR}/textproc/intltool
LIB_DEPENDS= libgimp-2.0.so:${PORTSDIR}/graphics/gimp-app
@@ -18,11 +20,13 @@ LIB_DEPENDS= libgimp-2.0.so:${PORTSDIR}/
USE_GITHUB= yes
GH_ACCOUNT= bootchk
+USES= autoreconf compiler:nestedfct gettext gmake pkgconfig
GNU_CONFIGURE= yes
+
LIBS+= -L${LOCALBASE}/lib -lintl
-USES= gettext gmake pkgconfig compiler:nestedfct
-USE_AUTOTOOLS= aclocal automake
-AUTOMAKE_ARGS= --add-missing
+
+PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
+PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR}
OPTIONS_DEFINE= THREADS
THREADS_DESC= Threading support (produces nondeterministic results)
@@ -30,8 +34,8 @@ THREADS_DESC= Threading support (produce
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|^\(gimpplugindir=\).*|\1"$$GIMP_LIBDIR"|' \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|^\(GIMP_LIBDIR=\).*|\1"$${prefix}/${PLUGIN_DIR:H}"|; \
+ s|^\(gimpplugindir=\).*|\1"$$GIMP_LIBDIR"|' ${WRKSRC}/configure.in
.if ! ${PORT_OPTIONS:MTHREADS}
@${REINPLACE_CMD} -e '/^#define SYNTH_THREADED/ d' \
${WRKSRC}/src/buildSwitches.h
Modified: head/graphics/gimp-resynthesizer/pkg-plist
==============================================================================
--- head/graphics/gimp-resynthesizer/pkg-plist Tue May 26 23:47:18 2015 (r387525)
+++ head/graphics/gimp-resynthesizer/pkg-plist Wed May 27 00:02:04 2015 (r387526)
@@ -1,14 +1,15 @@
-libexec/gimp/2.2/plug-ins/plugin-heal-selection.py
-libexec/gimp/2.2/plug-ins/plugin-heal-transparency.py
-libexec/gimp/2.2/plug-ins/plugin-map-style.py
-libexec/gimp/2.2/plug-ins/plugin-render-texture.py
-libexec/gimp/2.2/plug-ins/plugin-resynth-enlarge.py
-libexec/gimp/2.2/plug-ins/plugin-resynth-fill-pattern.py
-libexec/gimp/2.2/plug-ins/plugin-resynth-sharpen.py
-libexec/gimp/2.2/plug-ins/plugin-uncrop.py
-libexec/gimp/2.2/plug-ins/resynthesizer
-libexec/gimp/2.2/plug-ins/resynthesizer_gui
+%%PLUGIN_DIR%%/plugin-heal-selection.py
+%%PLUGIN_DIR%%/plugin-heal-transparency.py
+%%PLUGIN_DIR%%/plugin-map-style.py
+%%PLUGIN_DIR%%/plugin-render-texture.py
+%%PLUGIN_DIR%%/plugin-resynth-enlarge.py
+%%PLUGIN_DIR%%/plugin-resynth-fill-pattern.py
+%%PLUGIN_DIR%%/plugin-resynth-sharpen.py
+%%PLUGIN_DIR%%/plugin-uncrop.py
+%%PLUGIN_DIR%%/resynthesizer
+%%PLUGIN_DIR%%/resynthesizer_gui
share/locale/es/LC_MESSAGES/resynthesizer.mo
+share/locale/ru/LC_MESSAGES/resynthesizer.mo
%%DATADIR%%/help/en/gimp-help.xml
%%DATADIR%%/help/en/index.html
%%DATADIR%%/help/images/wilber.png
More information about the svn-ports-all
mailing list