summaryrefslogtreecommitdiffstats
path: root/games/xvmahjongg/Makefile
blob: 2d752d8a9d43b8faa79d010d6be27e3f8f56d0e7 (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
33
34
35
# New ports collection makefile for:	xvmahjongg
# Version required:			2.0
# Date created:				21 March 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=	xvmahjongg2.1
PKGNAME=	xvmahjongg-2.1
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.x.org/R5contrib/ \
		ftp://ftp.freesoftware.com/pub/X11/R5contrib/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	xview.3:${PORTSDIR}/x11-toolkits/xview

ALL_TARGET=	mahjongg.swap
USE_X_PREFIX=	yes
WRKSRC=		${WRKDIR}/mahjongg2.1
MAN6=		xvmahjongg.6

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mahjongg ${PREFIX}/bin/xvmahjongg
	${INSTALL_MAN} ${WRKSRC}/mahjongg.6 ${PREFIX}/man/man6/xvmahjongg.6
	@${MKDIR} ${PREFIX}/share/doc/xvmahjongg
.if !defined(NOPORTDOCS)
.for file in Notes README README.too
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xvmahjongg
.endfor
.endif

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