summaryrefslogtreecommitdiff
path: root/games/gtkballs/Makefile
blob: 7ffb0ee1c871794f744bef9ea36b2a0fcc16639d (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
# New ports collection makefile for:	gtkballs
# Version required:			1.04
# Date created:				11 November 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=		gtkballs-1.04
CATEGORIES=		games
MASTER_SITES=		ftp://lucifer.dorms.spbu.ru/pub/Linux/games/ \
			http://lucifer.dorms.spbu.ru/gtkballs/ \
			${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	games/strategy

MAINTAINER=		andy@icc.surw.chel.su

LIB_DEPENDS=		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

MAN6=			gtkballs.6

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/gtkballs ${PREFIX}/bin
	@ ${INSTALL_MAN} ${WRKSRC}/gtkballs.6 ${PREFIX}/man/man6
	@ ${MKDIR} ${PREFIX}/share/gtkballs
	@ ${INSTALL_DATA} ${WRKSRC}/gtkballs-data/*.xpm ${PREFIX}/share/gtkballs
	@ ${INSTALL_DATA} ${WRKSRC}/score ${PREFIX}/share/gtkballs/score
	@ ${CHMOD} a+rw ${PREFIX}/share/gtkballs/score
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/gtkballs
.for file in COPYING README README.russian TODO
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gtkballs
.endfor
.endif

.include <bsd.port.mk>