summaryrefslogtreecommitdiff
path: root/graphics/py-paint
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-06-25 19:19:54 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-06-25 19:19:54 +0000
commit33085970800ef45d6ab8b05aecb75db75fe5de8f (patch)
tree55e43b60dc76acef73aad39367c657f8b3741f59 /graphics/py-paint
parentupgrade to 0.26 (diff)
Use REINPLACE_CMD as well as USE_REINPLACE
Notes
Notes: svn path=/head/; revision=61967
Diffstat (limited to 'graphics/py-paint')
-rw-r--r--graphics/py-paint/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile
index 60d56b2cef1a..e707106e2bb0 100644
--- a/graphics/py-paint/Makefile
+++ b/graphics/py-paint/Makefile
@@ -20,11 +20,13 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
USE_FREETYPE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_REINPLACE= yes
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} \
SHARE_SUBDIR=${SHARE_SUBDIR}
SHARE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
-INC_DIRS= ["${LOCALBASE}/include/freetype1","${LOCALBASE}/include","${X11BASE}/include","${LOCALBASE}/include/freetype1/freetype"]
+INC_DIRS= ["${LOCALBASE}/include/freetype1","${LOCALBASE}/include", \
+ "${X11BASE}/include","${LOCALBASE}/include/freetype1/freetype"]
LIB_DIRS= ["${LOCALBASE}/lib","${X11BASE}/lib"]
TMPSUFFIX= .temp
EXAMPLES= test_bar.py test_paint.py testpie.py
@@ -32,8 +34,8 @@ EXAMPLES= test_bar.py test_paint.py testpie.py
.include <bsd.port.pre.mk>
post-patch:
- ${PERL} -pi -e 's@^(.*libraries.*)$$@\1include_dirs=${INC_DIRS},library_dirs=${LIB_DIRS},@g' \
- ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} -e 's@^\(.*libraries.*\)$$@\1include_dirs=${INC_DIRS},\
+ library_dirs=${LIB_DIRS},@g' ${WRKSRC}/setup.py
.if !defined(NOPORTDOCS)
post-install: