1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-10 02:45:11 +00:00
freebsd-ports/graphics/gimp-resynthesizer/Makefile
John Marino d834ce47a7 Add explicit dependency on pkgconf (20 ports)
Approved by:	portmgr (bapt, implicit)
2013-09-12 08:41:52 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= resynthesizer
PORTVERSION= 2.0
CATEGORIES= graphics
PKGNAMEPREFIX= gimp-
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Gimp plug-in for texture synthesis
RUN_DEPENDS= ${LOCALBASE}/libexec/gimp/2.2/python/gimpfu.py:${PORTSDIR}/graphics/py-gimp
BUILD_DEPENDS= intltool-extract:${PORTSDIR}/textproc/intltool
LIB_DEPENDS= gimp-2.0:${PORTSDIR}/graphics/gimp-app
USE_GITHUB= yes
GH_ACCOUNT= bootchk
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 28cade5
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lintl"
USES= gettext gmake pkgconfig
USE_AUTOTOOLS= aclocal automake
AUTOMAKE_ARGS= --add-missing
USE_GCC= any # uses nested functions (gcc ext.)
OPTIONS_DEFINE= THREADS
THREADS_DESC= Threading support (produces nondeterministic results)
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|^\(gimpplugindir=\).*|\1"$$GIMP_LIBDIR"|' \
${WRKSRC}/configure
.if ! ${PORT_OPTIONS:MTHREADS}
@${REINPLACE_CMD} -e '/^#define SYNTH_THREADED/ d' \
${WRKSRC}/src/buildSwitches.h
.endif
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>