From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
21 lines
528 B
Makefile
21 lines
528 B
Makefile
# Created by: 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
|
|
|
|
USES= qmake qt:4
|
|
USE_QT= corelib gui moc_build rcc_build
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|