mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
# New ports collection makefile for: kardsgt
|
|
# Date created: 8 August 2007
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kardsgt
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= SAVANNAH
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Card game suite
|
|
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= assistantclient corelib gui network \
|
|
moc_build qmake_build rcc_build uic_build
|
|
ALL_TARGET= qmake release
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
MAN6= kardsgt.6
|
|
|
|
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-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
|
|
-spec ${QMAKESPEC} kardsgt.pro
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/release/kardsgt ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/src/doc/kardsgt.6 ${MAN6PREFIX}/man/man6
|
|
@${MKDIR} ${PREFIX}/share/icons
|
|
${INSTALL_DATA} ${WRKSRC}/src/images/kardsgt.png ${PREFIX}/share/icons
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/doc/*.dcf ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/doc/*.html ${DATADIR}
|
|
@${MKDIR} ${DATADIR}/images
|
|
${INSTALL_DATA} ${WRKSRC}/src/doc/images/*.jpg ${DATADIR}/images
|
|
${INSTALL_DATA} ${WRKSRC}/src/doc/images/*.png ${DATADIR}/images
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in CREDITS ChangeLog README
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|