forked from Lainports/freebsd-ports
This will primarily help powerpc64. For archs where clang is the default compiler, these changes will have no effect, as the base compiler already has these capabilities (primarily, but not exclusively, c++-11). Tested for no-harm on amd64. While here, pet portlint. Approved by: portmgr (tier-2 blanket)
33 lines
757 B
Makefile
33 lines
757 B
Makefile
# Created by: Pawel Pekala <pawel@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= codequery
|
|
PORTVERSION= 0.21.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Code understanding, browsing and search tool
|
|
|
|
LICENSE= MPL20 MIT
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE.md
|
|
LICENSE_FILE_MIT= ${WRKSRC}/querylib/README.txt
|
|
|
|
USES= cmake compiler:c++11-lang ninja sqlite
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ruben2020
|
|
|
|
USE_QT4= linguisttools_build moc_build rcc_build uic_build \
|
|
corelib gui qmake xml
|
|
|
|
PLIST_FILES= bin/codequery \
|
|
bin/cqmakedb \
|
|
bin/cqsearch
|
|
DESKTOP_ENTRIES="CodeQuery" "" "" "${PORTNAME}" "Development;" ""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's,../build/gui/,,' ${WRKSRC}/gui/codequery.qrc
|
|
|
|
.include <bsd.port.mk>
|