mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
|
# New ports collection makefile for: gnushogi
|
||
|
# Version required: 1.2p03
|
||
|
# Date created: 9 October 1996
|
||
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
||
|
#
|
||
|
# $Id$
|
||
|
#
|
||
|
|
||
|
DISTNAME= gnushogi-1.2p03
|
||
|
PKGNAME= gnushogi-1.2.3
|
||
|
CATEGORIES= games
|
||
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
||
|
|
||
|
MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
|
||
|
|
||
|
DOCFILES= BOOKFILES CHANGES CONTRIB COPYING GENERAL INSTALL PORTING \
|
||
|
README-FIRST listserv.ref shogi.rules tutorial1.gam tutorial2.gam
|
||
|
MAN1= gnushogi.1
|
||
|
|
||
|
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
|
||
|
${INSTALL_MAN} ${WRKSRC}/doc/gnushogi.1 ${PREFIX}/man/man1
|
||
|
.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>
|