aboutsummaryrefslogtreecommitdiff
path: root/games/mahjong
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-10 18:03:29 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-10 18:03:29 +0000
commit851013d0b686e636339556b640fe0035caec182d (patch)
treee0f12feada8fc0375b1d9598543c62c33098e15c /games/mahjong
parent7dcafcdbd269ce1da54a5a42e04f1b800a0e9a15 (diff)
downloadports-851013d0b686e636339556b640fe0035caec182d.tar.gz
ports-851013d0b686e636339556b640fe0035caec182d.zip
upgrade to 1.0.3
Notes
Notes: svn path=/head/; revision=41215
Diffstat (limited to 'games/mahjong')
-rw-r--r--games/mahjong/Makefile6
-rw-r--r--games/mahjong/distinfo2
-rw-r--r--games/mahjong/files/patch-Makefile6
3 files changed, 5 insertions, 9 deletions
diff --git a/games/mahjong/Makefile b/games/mahjong/Makefile
index b3c989f746a5..c473ff16fe83 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 <bsd.port.mk>
diff --git a/games/mahjong/distinfo b/games/mahjong/distinfo
index 7ecd37d53e7e..6984139af6ce 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 fbb10d95904c..eda1aa99f68e 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