1996-11-17 11:44:57 +00:00
|
|
|
# New ports collection makefile for: gnushogi
|
|
|
|
# Date created: 9 October 1996
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1996-11-17 11:44:57 +00:00
|
|
|
#
|
|
|
|
|
2004-03-19 19:23:34 +00:00
|
|
|
PORTNAME= ${GNUSHOGI_PORTNAME}
|
|
|
|
PORTVERSION= ${GNUSHOGI_PORTVERSION}
|
1996-11-17 11:44:57 +00:00
|
|
|
CATEGORIES= games
|
2004-03-19 19:23:34 +00:00
|
|
|
MASTER_SITES= ${GNUSHOGI_MASTER_SITES}
|
|
|
|
MASTER_SITE_SUBDIR= ${GNUSHOGI_MASTER_SITE_SUBDIR}
|
|
|
|
DISTNAME= ${GNUSHOGI_DISTNAME}
|
1996-11-17 11:44:57 +00:00
|
|
|
|
2003-11-03 01:19:26 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= GNU version of Shogi
|
1996-11-17 11:44:57 +00:00
|
|
|
|
2004-03-19 19:23:34 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --without-x --without-xshogi
|
2009-11-19 23:41:55 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2004-03-19 19:23:34 +00:00
|
|
|
|
1997-01-03 11:33:21 +00:00
|
|
|
MAN6= gnushogi.6
|
2004-03-19 19:23:34 +00:00
|
|
|
INFO= gnushogi
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../../games/gnushogi/Makefile.common"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
-@${RM} ${WRKSRC}/doc/gnushogi.info*
|
1997-01-03 11:33:21 +00:00
|
|
|
|
2004-03-19 19:23:34 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/lib/gnushogi|/share/gnushogi|g' \
|
|
|
|
${WRKSRC}/gnushogi/Makefile.in
|
1996-11-17 11:44:57 +00:00
|
|
|
|
2004-03-19 19:23:34 +00:00
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/doc && makeinfo --no-split gnushogi
|
1996-11-17 11:44:57 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-03-19 19:23:34 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gnushogi/gnushogi ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/gnushogi.6 ${MANPREFIX}/man/man6
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gnushogi/gnushogi.bbk ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/gnushogi.info ${PREFIX}/info
|
1996-11-17 11:44:57 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-03-19 19:23:34 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/BOOKFILES ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/PORTING ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.gam ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.ref ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.rules ${DOCSDIR}
|
1996-11-17 11:44:57 +00:00
|
|
|
.endif
|
|
|
|
|
2004-03-19 19:23:34 +00:00
|
|
|
.include <bsd.port.post.mk>
|