f3c180c343
* Update Qt5 to 5.7.1 * Move Qt4 binaries to lib/qt4/bin * Move Qt5 libraries to lib/qt5/lib By moving the libraries we should finally be able to get rid of the inplace upgrade bug (see ports bugs 194088, 195105 and 198720): when Qt5's libraries were lying in /usr/local/lib, which would often get added by pkgconfig to the linker paths via dependencies, the already installed libraries were linked against, instead of the ones that were being built. This forced us to make sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the linker flags. With this change this should no longer be the case. * Rename some ports to match the rest (foo-qtX -> qtX-foo) * Depend on new port misc/qtchooser [see UPDATING & CHANGES] There are several new Qt5 ports which all have been created by Marie Loise Nolden <nolden@kde.org>. Thanks again. PR: 216797 Exp-Run by: antoine Reviewed by: rakuco, mat, groot_kde.org Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D9213
31 lines
666 B
Makefile
31 lines
666 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= xcwcp
|
|
|
|
COMMENT= X11 CW Tutor using unixcw
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libcw.so:comms/unixcw
|
|
|
|
MASTERDIR= ${.CURDIR}/../unixcw
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
USE_QT5= buildtools gui widgets qmake_build
|
|
USES= gettext
|
|
# Qt from 5.7.0 on requires c++11.
|
|
USE_CXXSTD= c++11
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-xcwcp
|
|
XCWCP= yes
|
|
PLIST_FILES= bin/xcwcp \
|
|
man/man1/xcwcp.1.gz
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xcwcp/xcwcp ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_DATA} ${WRKSRC}/src/xcwcp/xcwcp.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include "${MASTERDIR}/Makefile"
|