| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/gimp-resynthesizer/ |
Upload File : |
PORTNAME= resynthesizer
PORTVERSION= 2.0.3
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= graphics
PKGNAMEPREFIX= gimp-
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Gimp plug-in for texture synthesis
WWW= https://www.logarithmic.net/pfh/resynthesizer
LICENSE= GPLv2+ # though COPYING has GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
# XXX: this is python2 only dependency which is going to be removed from ports; it is
# required for a (huge) part of plugin functionality, but not mandatory, so if someday
# it returns with python3 support, full functionality of resynthesizer may be restored
#RUN_DEPENDS= ${LOCALBASE}/libexec/gimp/2.2/python/gimpfu.py:graphics/py-gimp
BUILD_DEPENDS= intltool-extract:textproc/intltool
LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app
USE_GITHUB= yes
GH_ACCOUNT= bootchk
USES= autoreconf compiler:c++11-lang gettext gmake localbase \
pkgconfig python:run shebangfix
SHEBANG_FILES= PluginScripts/*.py
GNU_CONFIGURE= yes
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR}
OPTIONS_DEFINE= THREADS
THREADS_DESC= Threading support (produces nondeterministic results)
THREADS_LIBS= `pkg-config --libs gthread-2.0`
post-patch:
@${REINPLACE_CMD} -e 's|^\(GIMP_LIBDIR=\).*|\1"$${prefix}/${PLUGIN_DIR:H}"|; \
s|^\(gimpplugindir=\).*|\1"$$GIMP_LIBDIR"|' ${WRKSRC}/configure.ac
post-patch-THREADS-off:
@${REINPLACE_CMD} -e '/^#define SYNTH_THREADED/ d' \
${WRKSRC}/lib/buildSwitches.h
.include <bsd.port.mk>