forked from Lainports/freebsd-ports
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
45 lines
1 KiB
Makefile
45 lines
1 KiB
Makefile
# Created by: Valentin Zahariev <curly@e-card.bg>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xca
|
|
PORTVERSION= 2.1.2
|
|
PORTREVISION= 3
|
|
DISTVERSIONPREFIX= RELEASE.
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Graphical certification authority
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
LIB_DEPENDS= libltdl.so:devel/libltdl
|
|
|
|
USES= autoreconf compiler:c++11-lang desktop-file-utils gmake \
|
|
localbase pkgconfig qt:5 shared-mime-info shebangfix ssl
|
|
USE_QT= buildtools_build core gui linguist_build sql widgets
|
|
USE_CXXSTD= c++11
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-openssl=${OPENSSLDIR} \
|
|
--with-qt=${PREFIX} \
|
|
--with-qt-version=5
|
|
MAKE_ARGS= DOCTOOL="${TRUE}"
|
|
DESTDIRNAME= destdir
|
|
SHEBANG_FILES= doc/code2html
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= chris2511
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/^CFLAGS/s|-O2||' ${WRKSRC}/Local.mak.in
|
|
@${REINPLACE_CMD} -e \
|
|
'/install/s|-D|-c|' ${WRKSRC}/img/Makefile
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xca*
|
|
|
|
.include <bsd.port.mk>
|