15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
42 lines
955 B
Makefile
42 lines
955 B
Makefile
# Created by: Denis Barov <dindin@dindin.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= focusblur
|
|
PORTVERSION= 3.2.6
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://registry.gimp.org/files/
|
|
PKGNAMEPREFIX= gimp-
|
|
PKGNAMESUFFIX= -plugin
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Gimp realistic focus blur plugin
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
|
|
libgimp-2.0.so:${PORTSDIR}/graphics/gimp-app
|
|
|
|
USES= gmake pkgconfig tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gtk20
|
|
|
|
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
|
|
PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -lm -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^bindir = .*|bindir = ${PREFIX}/${PLUGIN_DIR}|g' ${WRKSRC}/src/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|glib/.*\.h|glib.h|g' \
|
|
${WRKSRC}/src/*.[ch]
|
|
|
|
.include <bsd.port.mk>
|