66776a0a89
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
44 lines
1012 B
Makefile
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>
|