1 # Created by: Denis Barov <dindin@dindin.ru>
8 MASTER_SITES= http://registry.gimp.org/files/
10 PKGNAMESUFFIX= -plugin
12 MAINTAINER= ports@FreeBSD.org
13 COMMENT= Gimp realistic focus blur plugin
16 LICENSE_FILE= ${WRKSRC}/COPYING
18 LIB_DEPENDS= libfftw3.so:math/fftw3 \
19 libgimp-2.0.so:graphics/gimp-app
21 USES= gmake pkgconfig tar:bzip2
23 USE_GNOME= gtk20 intltool
25 PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
26 PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR}
28 CPPFLAGS+= -I${LOCALBASE}/include
29 LDFLAGS+= -lm -L${LOCALBASE}/lib
35 NLS_CONFIGURE_OFF= --disable-nls
38 @${REINPLACE_CMD} -e 's|^bindir = .*|bindir = ${PREFIX}/${PLUGIN_DIR}|g' ${WRKSRC}/src/Makefile.in
39 @${REINPLACE_CMD} -e 's|glib/.*\.h|glib.h|g' \
42 .include <bsd.port.mk>