summaryrefslogtreecommitdiffstats
path: root/games/xshogi/Makefile
blob: d0507575d4548a3ecd47d7618c187ede48d89f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:   xshogi 
# Version required:    1.2p03
# Date created:        20 October 1996
# Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.2 1997/01/03 09:26:34 obrien Exp $
#

DISTNAME=	xshogi-1.2p03
PKGNAME=        xshogi-1.2.3
CATEGORIES=     games
MASTER_SITES=   ${MASTER_SITE_GNU}

MAINTAINER=     Nakai@Mlab.t.u-tokyo.ac.jp

RUN_DEPENDS=    ${LOCALBASE}/libexec/gnushogix:${PORTSDIR}/games/gnushogi

USE_X_PREFIX=	yes
MAKEFILE=	Makefile.custom
MAN6=		xshogi.6

post-configure:
	@echo "DISTDIR=${WRKDIR}" >> ${WRKSRC}/${MAKEFILE}
	@echo "LOCALBASE=${LOCALBASE}" >> ${WRKSRC}/${MAKEFILE}

post-install:
	@strip ${PREFIX}/bin/xshogi
	@chmod 755 ${PREFIX}/bin/xshogi
	@/usr/sbin/chown ${BINOWN}.${BINGRP} ${PREFIX}/bin/xshogi
	${INSTALL_MAN} ${WRKSRC}/xshogi.man ${PREFIX}/man/man6/xshogi.6

.include <bsd.port.mk>
OpenPOWER on IntegriCloud