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

PORTNAME=   gtkballs
PORTVERSION=    2.0.1
CATEGORIES= games
MASTER_SITES=   http://gtkballs.antex.ru/dist/

MAINTAINER= ports@FreeBSD.org

USE_GTK=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --localstatedir=${DATADIR}

MAN6=       gtkballs.6x

post-patch:
    @${PERL} -pi -e 's|^install-data-local|#install-data-local|g' \
        ${WRKSRC}/Makefile.in

post-install:
    ${CHMOD} 2755 ${PREFIX}/bin/gtkballs
    ${CHOWN} root:games ${PREFIX}/bin/gtkballs
    ${CHMOD} 0666 ${DATADIR}/gtkballs-scores
    ${CHOWN} root:games ${DATADIR}/gtkballs-scores
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in README README.russian TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>