mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
9c2f65e395
Review by: bapt, David Naylor (kde team)
29 lines
725 B
Makefile
29 lines
725 B
Makefile
# New ports collection makefile for: kcheckers
|
|
# Date created: 2004-01-08
|
|
# Whom: arved
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kcheckers
|
|
PORTVERSION= 0.8.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/qcheckers/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Qt version of the classic boardgame checkers
|
|
|
|
USE_QT4= corelib gui qmake_build moc_build rcc_build
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/common.h
|
|
@${REINPLACE_CMD} -e 's|..PREFIX/share/kcheckers|${DATADIR}|' \
|
|
-e 's|..PREFIX|${PREFIX}|' ${WRKSRC}/kcheckers.pro
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${QMAKE} ${QMAKEFLAGS} kcheckers.pro
|
|
|
|
.include <bsd.port.mk>
|