aboutsummaryrefslogtreecommitdiffstats
path: root/games/mahjong
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-04-11 02:03:29 +0800
committerijliao <ijliao@FreeBSD.org>2001-04-11 02:03:29 +0800
commit876e93d1aa16e28aeafde5e0a43c5a43ced043af (patch)
tree10b08ef27936eeb63d5835f94c0a4a3f1f4ccc03 /games/mahjong
parent6f2dc54eae0b606008e3333c88526e01400b5915 (diff)
downloadfreebsd-ports-graphics-876e93d1aa16e28aeafde5e0a43c5a43ced043af.tar.gz
freebsd-ports-graphics-876e93d1aa16e28aeafde5e0a43c5a43ced043af.tar.zst
freebsd-ports-graphics-876e93d1aa16e28aeafde5e0a43c5a43ced043af.zip
upgrade to 1.0.3
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 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 <bsd.port.mk>
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