blob: 0d2b48f959d9b4553fcf539eb5258a494ff24d3f (
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
34
|
# Created by: Hye-Shik Chang <perky@fallin.lv>
# $FreeBSD$
PORTNAME= gd
PORTVERSION= 0.58
PORTREVISION= 1
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>
|