diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-27 08:02:04 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-27 08:02:04 +0800 |
commit | 619e91e1fb5f3de9978db10982177b76c19d07e6 (patch) | |
tree | bfcf1dca1a7fc206e66b9b5aec82c7a2e49ba81d /graphics | |
parent | 19244e7260f1040a98e63b7c2ac746b51e38fc54 (diff) | |
download | freebsd-ports-gnome-619e91e1fb5f3de9978db10982177b76c19d07e6.tar.gz freebsd-ports-gnome-619e91e1fb5f3de9978db10982177b76c19d07e6.tar.zst freebsd-ports-gnome-619e91e1fb5f3de9978db10982177b76c19d07e6.zip |
- Switch to USES=autoreconf
- Add LICENSE
- Improve gimp plugin dir handling
- Add missing localization file to plist
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gimp-resynthesizer/Makefile | 16 | ||||
-rw-r--r-- | graphics/gimp-resynthesizer/pkg-plist | 21 |
2 files changed, 21 insertions, 16 deletions
diff --git a/graphics/gimp-resynthesizer/Makefile b/graphics/gimp-resynthesizer/Makefile index 23bc49c64df2..58d5dca19df2 100644 --- a/graphics/gimp-resynthesizer/Makefile +++ b/graphics/gimp-resynthesizer/Makefile @@ -4,13 +4,15 @@ PORTNAME= resynthesizer PORTVERSION= 2.0 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics PKGNAMEPREFIX= gimp- MAINTAINER= amdmi3@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}/graphics/gimp-app 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 (produces nondeterministic results) .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 diff --git a/graphics/gimp-resynthesizer/pkg-plist b/graphics/gimp-resynthesizer/pkg-plist index 754b718f9539..aec09153836d 100644 --- a/graphics/gimp-resynthesizer/pkg-plist +++ b/graphics/gimp-resynthesizer/pkg-plist @@ -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 |