From c61dedef20ac887743b975653f84d496d53f1b9d Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Wed, 13 Apr 2005 07:26:36 +0000 Subject: minor fix path problem --- math/py-matplotlib/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'math/py-matplotlib/Makefile') diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile index 992887e0e3dd..9ec069c1e159 100644 --- a/math/py-matplotlib/Makefile +++ b/math/py-matplotlib/Makefile @@ -8,7 +8,7 @@ PORTNAME= matplotlib PORTVERSION= 0.74 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -27,6 +27,7 @@ RUN_DEPENDS= ${PYNUMERIC} \ BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} .endif +USE_REINPLACE= yes USE_PYTHON= 2.2+ USE_PYDISTUTILS= yes USE_GNOME= gtk20 pygtk2 @@ -42,6 +43,10 @@ PLISTDIR+= ${EXAMPLESDIR} .include +post-patch: + @${GREP} -lR "share/matplotlib" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e "s,share/matplotlib,share/py-matplotlib,g" + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLESDIR} -- cgit v1.2.3