aboutsummaryrefslogtreecommitdiff
path: root/games/mahjong/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-12 00:59:55 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-12 00:59:55 +0000
commit9b873c9c5d34617a1771ee9257764035b5e4f695 (patch)
treee5ebf242af59c8a47d8a5fc891aaeac7e759f26d /games/mahjong/Makefile
parent9e4a9e703497c579fba58ddc0abc71a8905c0b77 (diff)
downloadports-9b873c9c5d34617a1771ee9257764035b5e4f695.tar.gz
ports-9b873c9c5d34617a1771ee9257764035b5e4f695.zip
Notes
Diffstat (limited to 'games/mahjong/Makefile')
-rw-r--r--games/mahjong/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/games/mahjong/Makefile b/games/mahjong/Makefile
index e4faddcb0877..678f4848dd32 100644
--- a/games/mahjong/Makefile
+++ b/games/mahjong/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= mahjong
-PORTVERSION= 1.3.1
+PORTVERSION= 1.3.2
CATEGORIES= games net
MASTER_SITES= http://www.stevens-bradfield.com/MahJong/Source/
DISTNAME= mj-${PORTVERSION}-src
@@ -16,15 +16,22 @@ MAINTAINER= ports@FreeBSD.org
USE_GTK= yes
USE_GMAKE= yes
-MAKE_ENV= PERL="${PERL}"
-
+MAKE_ENV= CCLINK="${CC}" CDEBUGFLAGS="${CFLAGS}" \
+ DESTDIR="${PREFIX}/" INSTMANFLAGS="${INSTALL_MAN}" \
+ INSTPGMFLAGS="${INSTALL_PROGRAM}" PERL="${PERL}"
INSTALL_TARGET= install install.man
-MAN1= xmj.1 mj-player.1 mj-server.1
+MAN1= xmj.1
+MLINKS= xmj.1 mj-player.1 \
+ xmj.1 mj-server.1
post-patch:
- @${PERL} -pi -e "s,^CC ,#CC ,g ; \
- s,^PERL,#PERL,g ; \
- s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile
+ @${PERL} -pi -e 's|^CC|#CC|g ; \
+ s|^DESTDIR|#DESTDIR|g ; \
+ s|^CDEBUGFLAGS|#CDEBUGFLAGS|g ; \
+ s|^MAKE|#MAKE|g ; \
+ s|^PERL|#PERL|g ; \
+ s|^INST|#INST|g ; \
+ s|gtk-config|\$$\{GTK_CONFIG\}|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>