1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/net-im/ramblercontacts/Makefile
Rene Ladan 99d6d12a38 Mark QT4 ports/functionality for removal on 2019-03-15
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
2018-12-02 15:41:47 +00:00

42 lines
1.3 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= ramblercontacts
PORTVERSION= 0.3.2.1030
PORTREVISION= 2
CATEGORIES= net-im russian
MASTER_SITES= http://freebsd.nsu.ru/distfiles/
DISTNAME= ${PORTNAME}_v${PORTVERSION}_beta_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Free, multi-service communication client from Rambler
LICENSE= GPLv3
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
USES= qmake dos2unix qt:4
DOS2UNIX_GLOB= *
USE_XORG= xscrnsaver
USE_QT= moc_build rcc_build uic_build designer_build \
webkit
USE_LDCONFIG= yes
post-patch:
# Remove bogus Byte Order Mark (BOM) from some source files
@${REINPLACE_CMD} -e '1s/^[^#]*//' ${WRKSRC}/src/utils/balloontip.*
# Apparently, these are results of development on Windoze
@${REINPLACE_CMD} -e 's/info>/Info>/ ; s/metrics>/Metrics>/' \
${WRKSRC}/src/plugins/stylesheeteditor/private/qcssparser.cpp
# Fix namespace syntax (curly braces seem to be required in this case) and
# allow the program to find its resources from arbitrary directory (use
# absolute paths)
@${REINPLACE_CMD} -e '/unix:!macx/s/INSTALL_.*/{ & }/ ; \
51,53s/\.\./$$$${INSTALL_PREFIX}/' ${WRKSRC}/src/config.inc
# Do not install yet another copy of GPL, we have LICENSE knob for this
@${REINPLACE_CMD} -e 's| ../../COPYING||' \
${WRKSRC}/src/loader/loader.pro
.include <bsd.port.mk>