summaryrefslogtreecommitdiff
path: root/games/xshisen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xshisen/Makefile')
-rw-r--r--games/xshisen/Makefile27
1 files changed, 17 insertions, 10 deletions
diff --git a/games/xshisen/Makefile b/games/xshisen/Makefile
index 444a5a96d589..158aa2db99f7 100644
--- a/games/xshisen/Makefile
+++ b/games/xshisen/Makefile
@@ -8,24 +8,31 @@
DISTNAME= xshisen-1.36
CATEGORIES= games
-MASTER_SITES= ftp://ftp.win.or.jp/pub/doc-sources/fj.sources/1996/feb/
+MASTER_SITES= http://www.techfirm.co.jp/~masaoki/
-MAINTAINER= nacai@iname.com
+MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
# runs fine on ssh connection
#IS_INTERACTIVE= YES # Has to create an app-defaults file
-USE_X_PREFIX= YES
-GNU_CONFIGURE= YES
-#CONFIGURE_ARGS=--enable-japanese=euc #Japanese char set euc, jis sjis
-MAN6= xshisen.6
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LIBS="-lxpg4"
+CONFIGURE_ARGS= --datadir="${X11BASE}/lib/X11" \
+ --enable-japanese=euc #Japanese char set euc, jis sjis
-INSTALL_TARGET= install install.man
+MANLANG= "" ja
+MAN6= xshisen.6
post-install:
- @ strip ${PREFIX}/bin/xshisen
- @ ${CHMOD} 755 ${PREFIX}/bin/xshisen
- @ ${CHOWN} ${BINOWN}.${BINGRP} ${PREFIX}/bin/xshisen
+ @${CHOWN} games:games ${PREFIX}/bin/xshisen
+ @${CHMOD} 2555 ${PREFIX}/bin/xshisen
+ @${CHOWN} games:games ${PREFIX}/lib/X11/xshisen/xshisen-scores
+ @${CHMOD} 0660 ${PREFIX}/lib/X11/xshisen/xshisen-scores
+ ${INSTALL_MAN} ${WRKSRC}/xshisen.man ${PREFIX}/man/man6/xshisen.6
+ @${PREFIX}/bin/xshisen -KCONV jis < ${WRKSRC}/xshisen.jman-jis \
+ > ${WRKSRC}/xshisen.jman
+ ${INSTALL_MAN} ${WRKSRC}/xshisen.jman ${PREFIX}/man/ja/man6/xshisen.6
.include <bsd.port.mk>