aboutsummaryrefslogtreecommitdiffstats
path: root/games/qnetwalk/Makefile
blob: 7b5bdbef52891cf79896558f426379d52a0058a5 (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
# New ports collection Makefile for:    qnetwalk
# Date created:             2004-11-12
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   qnetwalk
PORTVERSION=    1.3
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   http://qt.osdn.org.ua/ \
        http://www.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Qt-version of the NetWalk game

USE_QT_VER= 4
QT_COMPONENTS=  corelib gui qmake_build moc_build rcc_build

MAN6=       qnetwalk.6

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
        -spec ${QMAKESPEC} ${PORTNAME}.pro

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/qnetwalk ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/qnetwalk.6 ${MANPREFIX}/man/man6
    ${MKDIR} ${DATADIR}/sounds
    ${INSTALL_DATA} ${WRKSRC}/sounds/*.wav ${DATADIR}/sounds
    ${MKDIR} ${DATADIR}/translations
    ${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${DATADIR}/translations
    ${MKDIR} ${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/menu/qnetwalk.desktop ${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/menu/qnetwalk.xpm ${PREFIX}/share/pixmaps

.include <bsd.port.mk>