2001-06-19 21:43:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2001/06/20 01:43:18 pvalchev Exp $
|
1998-05-19 23:41:28 -04:00
|
|
|
#
|
|
|
|
|
2001-05-05 21:06:09 -04:00
|
|
|
COMMENT= "GNU version of Shogi"
|
|
|
|
|
1998-05-19 23:41:28 -04:00
|
|
|
DISTNAME= gnushogi-1.2p03
|
|
|
|
PKGNAME= gnushogi-1.2.3
|
|
|
|
CATEGORIES= games
|
2001-05-05 21:06:09 -04:00
|
|
|
NEED_VERSION= 1.402
|
1998-05-19 23:41:28 -04:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
|
1998-05-19 23:41:28 -04:00
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: GPL
|
2000-02-15 00:03:51 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
|
|
PERMIT_PACKAGE_FTP= YES
|
|
|
|
PERMIT_DISTFILES_CDROM= YES
|
|
|
|
PERMIT_DISTFILES_FTP= YES
|
2000-02-12 03:02:07 -05:00
|
|
|
|
1998-11-08 20:49:54 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-03-30 02:19:51 -05:00
|
|
|
MASTER_SITE_SUBDIR= gnushogi
|
1998-11-08 20:49:54 -05:00
|
|
|
|
1998-05-19 23:41:28 -04:00
|
|
|
DOCFILES= BOOKFILES CHANGES CONTRIB COPYING GENERAL INSTALL PORTING \
|
|
|
|
README-FIRST listserv.ref shogi.rules tutorial1.gam tutorial2.gam
|
|
|
|
|
|
|
|
post-configure:
|
2000-02-22 12:08:31 -05:00
|
|
|
echo "DISTDIR=${WRKDIR}" >> ${WRKSRC}/src/Makefile
|
|
|
|
echo "prefix=${PREFIX}" >> ${WRKSRC}/src/Makefile
|
1998-05-19 23:41:28 -04:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC}/src; \
|
|
|
|
make gnushogir; \
|
|
|
|
make gnushogi.bbk; \
|
|
|
|
make gnushogi; \
|
|
|
|
make gnushogix )
|
|
|
|
|
|
|
|
do-install:
|
2001-03-22 17:06:35 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/gnushogi
|
1998-05-19 23:41:28 -04:00
|
|
|
${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/man6/gnushogi.6
|
2001-03-22 17:06:35 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnushogi
|
1998-05-19 23:41:28 -04:00
|
|
|
.for doc in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${PREFIX}/share/doc/gnushogi
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|