From 876e93d1aa16e28aeafde5e0a43c5a43ced043af Mon Sep 17 00:00:00 2001 From: ijliao Date: Tue, 10 Apr 2001 18:03:29 +0000 Subject: upgrade to 1.0.3 --- games/mahjong/Makefile | 6 +----- games/mahjong/distinfo | 2 +- games/mahjong/files/patch-Makefile | 6 +++--- 3 files changed, 5 insertions(+), 9 deletions(-) (limited to 'games/mahjong') diff --git a/games/mahjong/Makefile b/games/mahjong/Makefile index b3c989f746a..c473ff16fe8 100644 --- a/games/mahjong/Makefile +++ b/games/mahjong/Makefile @@ -7,7 +7,7 @@ # PORTNAME= mahjong -PORTVERSION= 1.0.2 +PORTVERSION= 1.0.3 CATEGORIES= games net MASTER_SITES= http://www.dcs.ed.ac.uk/home/jcb/stevens-bradfield/MahJong/Downloads/ DISTNAME= mj-${PORTVERSION}-src @@ -22,8 +22,4 @@ INSTALL_TARGET= install install.man MAN1= xmj.1 mj-player.1 mj-server.1 -post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile - @${PERL} -pi -e "s|%%GTK_CONFIG%%|${GTK_CONFIG}|g" ${WRKSRC}/Makefile - .include diff --git a/games/mahjong/distinfo b/games/mahjong/distinfo index 7ecd37d53e7..6984139af6c 100644 --- a/games/mahjong/distinfo +++ b/games/mahjong/distinfo @@ -1 +1 @@ -MD5 (mj-1.0.2-src.tar.gz) = 541fa66cce0497640ea6857808b8cdfe +MD5 (mj-1.0.3-src.tar.gz) = 76ffa09d202ac4a9d7d949bd277bdb2b diff --git a/games/mahjong/files/patch-Makefile b/games/mahjong/files/patch-Makefile index fbb10d95904..eda1aa99f68 100644 --- a/games/mahjong/files/patch-Makefile +++ b/games/mahjong/files/patch-Makefile @@ -5,7 +5,7 @@ # for Windows.) # The binaries go into $(DESTDIR)$(BINDIR) -DESTDIR = /usr/local/ -+DESTDIR = %%PREFIX%%/ ++DESTDIR = ${PREFIX}/ BINDIR = bin # The man pages go into $(DESTDIR)$(MANDIR) MANDIR = man/man1 @@ -24,8 +24,8 @@ # Not Windows. If gtk+ is properly installed, this is all that's needed. -EXTRA_INCLUDES=`gtk-config --cflags` -GUILIBS=`gtk-config --libs` -+EXTRA_INCLUDES=`%%GTK_CONFIG%% --cflags` -+GUILIBS=`%%GTK_CONFIG%% --libs` ++EXTRA_INCLUDES=`${GTK_CONFIG} --cflags` ++GUILIBS=`${GTK_CONFIG} --libs` endif # We use gcc to link as well -- cgit