From 5362d92b906ba3152a00cf401297f169fb5157ac Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Tue, 13 Feb 2001 22:18:09 +0000 Subject: Update to 3.7.2. Do away with the post-patch target. --- www/mmosaic/Makefile | 6 +----- www/mmosaic/distinfo | 2 +- www/mmosaic/files/patch-Makefile | 8 ++++---- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/www/mmosaic/Makefile b/www/mmosaic/Makefile index f0cf592fdb6b..486caddc0a81 100644 --- a/www/mmosaic/Makefile +++ b/www/mmosaic/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mmosaic -PORTVERSION= 3.7.1 +PORTVERSION= 3.7.2 CATEGORIES= www MASTER_SITES= ftp://ftp.enst.fr/pub/mbone/mMosaic/ DISTNAME= mMosaic-${PORTVERSION} @@ -22,10 +22,6 @@ USE_MOTIF= yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/mMosaic-src-${PORTVERSION} -post-patch: - ${PERL} -pi -e "s:LOCALBASE:${LOCALBASE}:g" ${WRKSRC}/Makefile - ${PERL} -pi -e "s:X11BASE:${X11BASE}:g" ${WRKSRC}/Makefile - pre-install: ${ECHO} bin/mmosaic > ${PLIST} cd ${WRKSRC}/Copyrights; for i in `find * -type f`; do \ diff --git a/www/mmosaic/distinfo b/www/mmosaic/distinfo index da03dc47b1e4..95e309cf12e9 100644 --- a/www/mmosaic/distinfo +++ b/www/mmosaic/distinfo @@ -1 +1 @@ -MD5 (mMosaic-3.7.1.tar.gz) = 788478783817fb26aa136fe4cfb4e42f +MD5 (mMosaic-3.7.2.tar.gz) = a5b47f22f7660ca65bdb5d448472264b diff --git a/www/mmosaic/files/patch-Makefile b/www/mmosaic/files/patch-Makefile index 2d72221aac51..0516000a8b00 100644 --- a/www/mmosaic/files/patch-Makefile +++ b/www/mmosaic/files/patch-Makefile @@ -60,7 +60,7 @@ #xinc = -I/usr/X11/include # Linux, FreeBSD -#xinc = -I/usr/X11R6/include -+xinc = -I/X11BASE/include ++xinc = -I/${X11BASE}/include # Irix #xinc = -I/usr/include # Solaris 2.x @@ -76,7 +76,7 @@ #xlibs = -L/usr/X11/lib -lXm_s -lXt_s -lX11_s -lXqnx_s -lXt -lXmu -lXext # Linux, FreeBSD, NetBSD with Lesstif -#xlibs = -L/usr/X11R6/lib -lXm -lXmu -lXt -lXext -lX11 -lm -+xlibs = -L/X11BASE/lib -lXm -lXmu -lXt -lXext -lX11 -lm ++xlibs = -L/${X11BASE}/lib -lXm -lXmu -lXt -lXext -lX11 -lm # some distrib. of Linux require -lSM -lICE # Linux Red Hat 6.1 lesstif-0.88.1-3 kernel 2.2.12-20 #xlibs = -L/usr/X11R6/lib -lXm -lXmu -lXt -lXext -lX11 -lm -lSM -lICE @@ -100,8 +100,8 @@ -# Solaris -pnginc = /usr/local/include -pnglibs = /usr/local/lib/libpng.a /usr/local/lib/libz.a -+pnginc = LOCALBASE/include -+pnglibs = LOCALBASE/lib/libpng.a /usr/lib/libz.a ++pnginc = ${LOCALBASE}/include ++pnglibs = ${LOCALBASE}/lib/libpng.a /usr/lib/libz.a +# Solaris +#pnginc = /usr/local/include +#pnglibs = /usr/local/lib/libpng.a /usr/local/lib/libz.a -- cgit v1.2.3