summaryrefslogtreecommitdiff
path: root/games/xvmahjongg/Makefile
blob: 250e4d4e0dc0553a5aaad9b47219a863e68310cf (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
# 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.cdrom.com/pub/X11/R5contrib/ \
		ftp://ftp.tu-darmstadt.de/pub/X11/R5contrib/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	andy@icc.surw.chel.su

LIB_DEPENDS=	xview.3:${PORTSDIR}/x11-toolkits/xview \
		olgx.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_DATA} ${WRKSRC}/mahjongg.6 ${PREFIX}/man/man6/xvmahjongg.6
	@ ${MKDIR} ${PREFIX}/share/doc/xvmahjongg
.for file in Notes README README.too
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xvmahjongg
.endfor

.include <bsd.port.mk>