mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
b1a1d38bf9
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
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kardsgt
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SAVANNAH
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Card game suite
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= qmake qt:4
|
|
USE_QT= assistantclient corelib gui network \
|
|
moc_build rcc_build uic_build
|
|
ALL_TARGET= qmake release
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^QT +=|#QT +=|g' \
|
|
${WRKSRC}/src/src.pro
|
|
@${REINPLACE_CMD} -e 's|/usr/share/kardsgt/|${DATADIR}/|g' \
|
|
${WRKSRC}/src/kardsgtinterface.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/release/kardsgt ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/src/doc/kardsgt.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
|
|
${INSTALL_DATA} ${WRKSRC}/src/images/kardsgt.png ${STAGEDIR}${PREFIX}/share/icons
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/doc/*.dcf ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/doc/*.html ${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/images
|
|
${INSTALL_DATA} ${WRKSRC}/src/doc/images/*.jpg ${STAGEDIR}${DATADIR}/images
|
|
${INSTALL_DATA} ${WRKSRC}/src/doc/images/*.png ${STAGEDIR}${DATADIR}/images
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in CREDITS ChangeLog README
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|