1996-11-03 21:11:09 +00:00
|
|
|
# New ports collection makefile for: xshisen
|
1997-11-20 02:11:04 +00:00
|
|
|
# Version required: 1.36
|
1996-11-03 21:11:09 +00:00
|
|
|
# Date created: 9 Oct 1996
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1996-11-03 21:11:09 +00:00
|
|
|
#
|
|
|
|
|
1999-01-12 16:51:33 +00:00
|
|
|
DISTNAME= xshisen-1.36
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= games
|
1999-11-24 07:20:09 +00:00
|
|
|
MASTER_SITES= http://www.techfirm.co.jp/~masaoki/
|
1996-11-03 21:11:09 +00:00
|
|
|
|
1999-11-24 07:20:09 +00:00
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
1996-11-03 21:11:09 +00:00
|
|
|
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1996-11-03 21:11:09 +00:00
|
|
|
|
1997-03-06 04:54:41 +00:00
|
|
|
# runs fine on ssh connection
|
|
|
|
#IS_INTERACTIVE= YES # Has to create an app-defaults file
|
1999-11-24 07:20:09 +00:00
|
|
|
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
|
1996-11-03 21:11:09 +00:00
|
|
|
|
1999-11-24 07:20:09 +00:00
|
|
|
MANLANG= "" ja
|
|
|
|
MAN6= xshisen.6
|
1997-11-20 02:11:04 +00:00
|
|
|
|
1996-11-03 21:11:09 +00:00
|
|
|
post-install:
|
2000-03-09 12:46:31 +00:00
|
|
|
@${CHOWN} root:games ${PREFIX}/bin/xshisen
|
1999-11-24 07:20:09 +00:00
|
|
|
@${CHMOD} 2555 ${PREFIX}/bin/xshisen
|
2000-03-09 12:46:31 +00:00
|
|
|
@${CHOWN} root:games ${PREFIX}/lib/X11/xshisen/xshisen-scores
|
1999-11-24 07:20:09 +00:00
|
|
|
@${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
|
1996-11-03 21:11:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|