freebsd-ports/sysutils/twmn/Makefile
Dmitri Goutnik 66776a0a89 sysutils/twmn: Update to g20190917, unbreak with clang 10
In file included from /usr/local/include/qt5/QtCore/qstring.h:49:
/usr/local/include/qt5/QtCore/qbytearray.h:545:22: error: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
    inline QByteRef &operator=(const QByteRef &c)
                     ^
/usr/local/include/qt5/QtCore/qbytearray.h:563:28: note: in implicit copy constructor for 'QByteRef' first required here
{ Q_ASSERT(i >= 0); return QByteRef(*this, i); }
                           ^

PR:		244251
2020-03-18 15:28:35 +00:00

44 lines
1012 B
Makefile

# $FreeBSD$
PORTNAME= twmn
PORTVERSION= g20190917
CATEGORIES= sysutils
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Notification system for tiling window managers
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_system.so:devel/boost-libs
USES= compiler:c++11-lang qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= sboli
GH_TAGNAME= 861a323
USE_QT= core dbus gui network widgets x11extras buildtools_build
LDFLAGS+= -Wl,--as-needed # see bug#224488
# Fix build with Qt 5.13
QMAKE_ARGS+= DEFINES+=QT_NO_DEPRECATED_WARNINGS=Y
PORTDOCS= README.md
PORTEXAMPLES= *
PLIST_FILES= bin/twmnc bin/twmnd
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/twmnc ${STAGEDIR}${PREFIX}/bin/twmnd
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>