From 83cce3825472d848ba52f32422f35aa3b06469ef Mon Sep 17 00:00:00 2001 From: ijliao Date: Sun, 16 Jun 2002 16:22:04 +0000 Subject: upgrade to 2.04 use new REINPLACE_CMD for patch --- math/ploticus/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'math/ploticus/Makefile') diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile index 729c8929c979..861abeefe17f 100644 --- a/math/ploticus/Makefile +++ b/math/ploticus/Makefile @@ -7,7 +7,7 @@ # PORTNAME= ploticus -PORTVERSION= 2.03 +PORTVERSION= 2.04 CATEGORIES= math MASTER_SITES= http://ploticus.sourceforge.net/download/ DISTNAME= plsrc${PORTVERSION:S/.//} @@ -27,9 +27,7 @@ MAKE_ENV= LIBS="-L${LOCALBASE}/lib" MAN1= pl.1 post-patch: - @${PERL} -pi -e "s,%%X11BASE%%,${X11BASE},g ; \ - s,%%LOCALBASE%%,${LOCALBASE},g ; \ - s,^CC,#CC,g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s,^CC,#CC,g" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin -- cgit