summaryrefslogtreecommitdiff
path: root/games/xchadance/Makefile
blob: 826d0b88f7dc921e76f8bc046b06d717c468bd2c (plain) (blame)
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
33
34
35
36
37
38
39
# New ports collection makefile for:	xchadance
# Date created:		21 August 1998
# Whom:			issei <issei@jp.FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	xchadance
PORTVERSION=	1.0
CATEGORIES=	games
MASTER_SITES=	http://home.jp.FreeBSD.org/~issei/LOCAL_PORTS/
DISTFILES=	xchada01.lzh

MAINTAINER=	issei@jp.FreeBSD.org

BUILD_DEPENDS=	lha:${PORTSDIR}/archivers/lha

MAKEFILE=	makefile
USE_X_PREFIX=	yes
NO_WRKSUBDIR=	yes

EXTRACT_CMD=	lha
EXTRACT_BEFORE_ARGS=	e
EXTRACT_AFTER_ARGS=

RESTRICTED=	'contains commercial character data'

post-patch:
	@cd ${WRKSRC}; \
	${PATCH} < ${WRKSRC}/xchada01.bug

post-install:
.if !defined(NOPORTOCS)
	@${MKDIR} ${PREFIX}/share/doc/xchadance
	@${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/xchadance
	@${INSTALL_DATA} ${WRKSRC}/README.eng ${PREFIX}/share/doc/xchadance
.endif

.include <bsd.port.mk>