mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
da77d48a55
- Update MASTER_SITES - Add LICENSE - Remove now not existing --disable-rpath from CONFIGURE_ARGS - Update WWW in pkg-descr PR: 154610 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
48 lines
1015 B
Makefile
48 lines
1015 B
Makefile
# New ports collection makefile for: gimp-focusblur
|
|
# Date created: 03 Jun 2009
|
|
# Whom: Denis Barov <dindin@dindin.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= focusblur
|
|
PORTVERSION= 3.2.6
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://registry.gimp.org/files/
|
|
PKGNAMEPREFIX= gimp-
|
|
PKGNAMESUFFIX= -plugin
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Gimp realistic focus blur plugin
|
|
|
|
LIB_DEPENDS= fftw3.5:${PORTSDIR}/math/fftw3 \
|
|
gimp-2.0:${PORTSDIR}/graphics/gimp-app
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gtk20
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
|
|
PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^bindir = .*|bindir = ${PREFIX}/${PLUGIN_DIR}|g' ${WRKSRC}/src/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|