While here, chase some KDE4 ports and functionality, these are scheduled for removal on 2018-12-31. Change the default option/flavor to QT5 where applicable or use alternative toolkits like GTK. Submitted by: tcberner Reviewed by: adridg, jhale, rene, tcberner Approved by: portmgr (implicit, flavor hook) Differential Revision: https://reviews.freebsd.org/D17741
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qgo
|
|
PORTVERSION= 2.s764
|
|
CATEGORIES= games
|
|
MASTER_SITES= DEBIAN
|
|
DISTNAME= ${PORTNAME}_2~svn764.orig
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Go board and SGF editor written with the Qt library
|
|
|
|
DEPRECATED= Qt4 has been EOL since december 2015
|
|
EXPIRATION_DATE= 2019-03-15
|
|
|
|
BROKEN= fails to build
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USES= desktop-file-utils qmake qt:4 tar:bzip2
|
|
USE_QT= gui network qtestlib moc_build rcc_build uic_build
|
|
|
|
PLIST_FILES= bin/qgo share/applications/qgo.desktop share/pixmaps/qgo.png
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/Icon/s|=.*|=${PREFIX}/share/pixmaps/qgo.png| ; \
|
|
/^MimeType/s|=.*|=text/sgf|' ${WRKSRC}/src/qgo.desktop
|
|
@${REINPLACE_CMD} -e \
|
|
's|debug|release|' ${WRKSRC}/src/src.pro
|
|
@${REINPLACE_CMD} -e \
|
|
's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/mainwindow_settings.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/qgo ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/src/qgo.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/ressources/pics/qgo.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|