1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/graphics/gimp-resynthesizer/Makefile

41 lines
1.0 KiB
Makefile
Raw Normal View History

2013-02-28 16:22:30 +00:00
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= resynthesizer
2013-02-28 16:22:30 +00:00
PORTVERSION= 2.0
CATEGORIES= graphics
PKGNAMEPREFIX= gimp-
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Gimp plug-in for texture synthesis
2013-02-28 16:22:30 +00:00
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
2013-02-28 16:22:30 +00:00
USE_GITHUB= yes
GH_ACCOUNT= bootchk
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 28cade5
2013-02-28 16:22:30 +00:00
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lintl"
USES= gettext gmake pkgconfig compiler:nestedfct
2013-02-28 16:22:30 +00:00
USE_AUTOTOOLS= aclocal automake
2013-08-08 15:19:42 +00:00
AUTOMAKE_ARGS= --add-missing
2013-02-28 16:22:30 +00:00
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
.include <bsd.port.mk>