minor fix path problem
This commit is contained in:
@@ -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 <bsd.port.pre.mk>
|
||||
|
||||
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}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- setup.py.orig Sat Jan 22 02:42:00 2005
|
||||
+++ setup.py Thu Jan 27 17:49:21 2005
|
||||
@@ -77,7 +77,7 @@
|
||||
data.extend(glob.glob('images/*.ppm'))
|
||||
data.append('.matplotlibrc')
|
||||
|
||||
-data_files=[('share/matplotlib', data),]
|
||||
+data_files=[('share/py-matplotlib', data),]
|
||||
|
||||
# Figure out which array packages to provide binary support for
|
||||
# and define the NUMERIX value: Numeric, numarray, or both.
|
||||
Reference in New Issue
Block a user