aboutsummaryrefslogtreecommitdiffstats
path: root/games/qnetchess/Makefile
blob: d7fe34f2351512f4d5005409be03af321fce151e (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
# New ports collection makefile for:    QNetChess
# Date created:     2005-03-02
# Whom:         Andrej Zverev <az@inec.ru>
#
# $FreeBSD$
#

PORTNAME=   QNetChess
PORTVERSION=    1.1
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   http://www.silversoft.net/src/

MAINTAINER= az@FreeBSD.org
COMMENT=    Qt based chess multiplayer game

MAKEFILE=   Makefile.FreeBSD
LOCALE_FILE=    "${DATADIR}/${PORTNAME}_ru"

USE_BZIP2=  yes
USE_QT_VER= 3

MAKE_ARGS+= LOCALE_FILE="${LOCALE_FILE}" QTDIR="${QT_PREFIX}"

PLIST_FILES=    bin/QNetChess %%DATADIR%%/${PORTNAME}_ru.qm
PLIST_DIRS= %%DATADIR%%

do-install:
    ${MKDIR} ${DATADIR}
    ${INSTALL_PROGRAM} ${WRKSRC}/QNetChess  ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_ru.qm ${DATADIR}/

.include <bsd.port.mk>