summaryrefslogtreecommitdiff
path: root/graphics/py-gimp/Makefile
blob: 062373f02abfb760466bf9c6581757f8466567aa (plain)
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
31
32
33
34
35
# $NetBSD: Makefile,v 1.7 2003/07/13 13:52:14 wiz Exp $
#

DISTNAME=	pygimp-1.2
PKGREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.daa.com.au/pub/james/pygimp/

MAINTAINER=	tech-pkg@netbsd.org
HOMEPAGE=	http://www.daa.com.au/~james/pygimp/
COMMENT=	Python interface to the GIMP

GNU_CONFIGURE=	YES
CONFIGURE_ENV+=	PYTHON=${PYTHONBIN}
USE_LIBTOOL=	yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
USE_BUILDLINK2= yes

PYTHON_PATCH_SCRIPTS= plug-ins/clothify.py plug-ins/foggify.py
PYTHON_PATCH_SCRIPTS+= plug-ins/gimpcons.py plug-ins/gtkcons.py
PYTHON_PATCH_SCRIPTS+= plug-ins/pdbbrowse.py plug-ins/shadow_bevel.py
PYTHON_PATCH_SCRIPTS+= plug-ins/sphere.py plug-ins/whirlpinch.py
PY_PATCHPLIST=	yes

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pygimp
	for i in ${WRKSRC}/doc/*.html; do \
		${INSTALL_DATA} $$i ${PREFIX}/share/doc/pygimp; \
	done

.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../graphics/gimp-base/buildlink2.mk"
.include "../../x11/pygtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"