aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-lqr-plugin/Makefile
blob: 9c1eefb0bb12712793c1ec2edd8e9ba46e397387 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$

PORTNAME=	gimp-lqr-plugin
PORTVERSION=	0.7.1
PORTREVISION=	5
CATEGORIES=	graphics
MASTER_SITES=	http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/ \
		http://mirror.amdmi3.ru/distfiles/

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Liquid rescale GIMP plug-in

LIB_DEPENDS=	libgimp-2.0.so:${PORTSDIR}/graphics/gimp-app \
		liblqr-1.so:${PORTSDIR}/graphics/liblqr-1

USES=		tar:bzip2 gettext gmake pkgconfig
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+=	-L${LOCALBASE}/lib

post-patch:
	@${REINPLACE_CMD} -e 's|^bindir = .*|bindir = ${PREFIX}/${PLUGIN_DIR}|g' ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>