openbsd-ports/games/gnushogi/Makefile
brad 3e8d522623 - mkdir -> ${INSTALL_DATA_DIR}
- kill off FreeBSD-ism (NOPORTDOCS knob)
--
Patch from: Pete Fritchman <petef@databits.net>
2001-03-22 22:06:35 +00:00

47 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2001/03/22 22:06:36 brad Exp $
#
DISTNAME= gnushogi-1.2p03
PKGNAME= gnushogi-1.2.3
CATEGORIES= games
NEED_VERSION= 1.210
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
LICENSE_TYPE= GPL
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gnushogi
DOCFILES= BOOKFILES CHANGES CONTRIB COPYING GENERAL INSTALL PORTING \
README-FIRST listserv.ref shogi.rules tutorial1.gam tutorial2.gam
post-configure:
echo "DISTDIR=${WRKDIR}" >> ${WRKSRC}/src/Makefile
echo "prefix=${PREFIX}" >> ${WRKSRC}/src/Makefile
do-build:
(cd ${WRKSRC}/src; \
make gnushogir; \
make gnushogi.bbk; \
make gnushogi; \
make gnushogix )
do-install:
${INSTALL_DATA_DIR} ${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/man6/gnushogi.6
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnushogi
.for doc in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${PREFIX}/share/doc/gnushogi
.endfor
.include <bsd.port.mk>