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

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

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

DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE=    2013-07-01

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

MAKE_ENV=   X11BASE=${LOCALBASE}
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%%

post-patch:
    ${REINPLACE_CMD} -e 's|static char|static const char|' \
                          ${WRKSRC}/xpm/*

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

.include <bsd.port.mk>