blob: b5b60812fa6e72d4136b88db8866e271242736a1 (
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
31
32
33
|
# Created by: Hye-Shik Chang <perky@fallin.lv>
# $FreeBSD$
PORTNAME= gd
PORTVERSION= 0.58
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gdmodule-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to the GD library
LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYSETUP= Setup.py
USE_PYTHON_PREFIX= yes
PYDISTUTILS_PKGNAME= gdmodule
post-patch:
@${REINPLACE_CMD} -e \
'/\/usr\/lib/d ; \
/\/usr\/include/d ; \
/\/usr\/X11R6/d ; \
s|/opt/gnome|${LOCALBASE}| ; \
/"jpeg", "png", "gif", "z",/d ; \
/"X11", "Xpm",/d ; \
/"ttf", "freetype",/d' \
${WRKSRC}/${PYSETUP}
.include <bsd.port.mk>
|