summaryrefslogtreecommitdiff
path: root/games/xkoules/Makefile
blob: b258db8ca70f3839eaef299208e7bb35e002d0a2 (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
40
41
42
43
# New ports collection makefile for:	xkoules
# Version required:			1.4
# Date created:				11 March 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=	koules1.4-src
PKGNAME=	xkoules-1.4
CATEGORIES=	games
MASTER_SITES=	http://www.paru.cas.cz/~hubicka/koules/packages/ \
		${MASTER_SITE_SUNSITE}

MAINTAINER=	andy@icc.surw.chel.su

.if ${MACHINE_ARCH} == "alpha"
PLIST=		${PKGDIR}/PLIST.alpha
.endif

USE_IMAKE=	yes
WRKSRC=		${WRKDIR}/koules1.4
MAN6=		xkoules.6
MANCOMPRESSED=	no

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/xkoules ${PREFIX}/bin
	@ ${MKDIR} ${PREFIX}/share/xkoules
.if ${MACHINE_ARCH} == "i386"
	@ ${INSTALL_PROGRAM} ${WRKSRC}/koules.sndsrv.freebsd ${PREFIX}/share/xkoules
.endif
	@ ${INSTALL_DATA} ${WRKSRC}/sounds/*.raw ${PREFIX}/share/xkoules
	@ ${INSTALL_MAN} ${WRKSRC}/xkoules.6 ${PREFIX}/man/man6

post-install:
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/xkoules
.for file in ANNOUNCE BUGS COPYING Card ChangeLog Koules.FAQ TODO
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xkoules
.endfor
.endif

.include <bsd.port.mk>