3561a46f28
- new MASTER_SITES - add security patch PR: 210913 Submitted by: Piotr Kubaj MFH: 2016Q3 Security: CVE-2015-8874 Security: CVE-2016-3074 Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
35 lines
771 B
Makefile
35 lines
771 B
Makefile
# Created by: Hye-Shik Chang <perky@fallin.lv>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gd
|
|
PORTVERSION= 0.59
|
|
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= libgd.so:graphics/gd
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist pythonprefix
|
|
PYSETUP= setup.py
|
|
|
|
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}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_gd.so
|
|
|
|
.include <bsd.port.mk>
|