2004-11-28 17:41:14 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2004/11/28 22:41:18 espie 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-06-19 21:43:11 -04:00
|
|
|
# License: GPL
|
2002-05-13 14:50:36 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-28 17:41:14 -05:00
|
|
|
WANTLIB= c curses m termcap
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gnushogi/}
|
1998-11-08 20:49:54 -05:00
|
|
|
|
2002-10-10 09:26:07 -04:00
|
|
|
MAKE_ENV= CC="${CC}"
|
2002-08-02 16:27:17 -04:00
|
|
|
WRKSRC= ${WRKDIST}/src
|
1998-05-19 23:41:28 -04:00
|
|
|
|
2002-08-02 16:27:17 -04:00
|
|
|
NO_REGRESS= Yes
|
1998-05-19 23:41:28 -04:00
|
|
|
|
2002-08-02 16:27:17 -04:00
|
|
|
DOCFILES= shogi.rules tutorial1.gam tutorial2.gam
|
1998-05-19 23:41:28 -04:00
|
|
|
|
|
|
|
do-install:
|
2001-03-22 17:06:35 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/gnushogi
|
2002-08-02 16:27:17 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gnushogi ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gnushogir ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gnushogix ${PREFIX}/libexec
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gnushogi.bbk ${PREFIX}/share/gnushogi
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/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}
|
2002-08-02 16:27:17 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/${doc} ${PREFIX}/share/doc/gnushogi
|
1998-05-19 23:41:28 -04:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|