1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/qnetchess/Makefile

38 lines
834 B
Makefile

# New ports collection makefile for: QNetChess
# Date created: 2005-03-02
# Whom: Andrej Zverev <az@inec.ru>
#
# $FreeBSD$
#
PORTNAME= QNetChess
PORTVERSION= 1.1
PORTREVISION= 4
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>