blob: 2b2c1be300f0c91d83a1e06893822f44ecd558fc (
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: QNetChess
# Date created: 2005-03-02
# Whom: Andrej Zverev <az@inec.ru>
#
# $FreeBSD$
#
PORTNAME= QNetChess
PORTVERSION= 1.1
PORTREVISION= 6
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%%
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>
|