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
|
|
|
#
|
|
|
|
|
2000-04-14 06:53:26 +00:00
|
|
|
PORTNAME= gnushogi
|
|
|
|
PORTVERSION= 1.2.3
|
1996-11-17 11:44:57 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= gnushogi
|
2000-04-14 06:53:26 +00:00
|
|
|
DISTNAME= gnushogi-1.2p03
|
1996-11-17 11:44:57 +00:00
|
|
|
|
2000-01-07 02:27:48 +00:00
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
1996-11-17 11:44:57 +00:00
|
|
|
|
|
|
|
DOCFILES= BOOKFILES CHANGES CONTRIB COPYING GENERAL INSTALL PORTING \
|
|
|
|
README-FIRST listserv.ref shogi.rules tutorial1.gam tutorial2.gam
|
1997-01-03 11:33:21 +00:00
|
|
|
MAN6= gnushogi.6
|
|
|
|
|
|
|
|
post-configure:
|
1999-08-27 21:14:04 +00:00
|
|
|
${ECHO} "DISTDIR=${WRKDIR}" >> ${WRKSRC}/src/${MAKEFILE}
|
|
|
|
${ECHO} "prefix=${PREFIX}" >> ${WRKSRC}/src/${MAKEFILE}
|
1996-11-17 11:44:57 +00:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC}/src; \
|
|
|
|
make gnushogir; \
|
|
|
|
make gnushogi.bbk; \
|
|
|
|
make gnushogi; \
|
|
|
|
make gnushogix )
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/gnushogi
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gnushogi ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gnushogir ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gnushogix ${PREFIX}/libexec
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/gnushogi.bbk ${PREFIX}/share/gnushogi
|
1997-01-03 11:33:21 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/gnushogi.1 ${PREFIX}/man/man6/gnushogi.6
|
1996-11-17 11:44:57 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gnushogi
|
|
|
|
.for doc in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${PREFIX}/share/doc/gnushogi
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|