1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/security/xca/Makefile
2021-04-06 16:31:07 +02:00

44 lines
1.1 KiB
Makefile

# Created by: Valentin Zahariev <curly@e-card.bg>
PORTNAME= xca
PORTVERSION= 2.3.0
CATEGORIES= security
MASTER_SITES= https://github.com/${GH_ACCOUNT}/xca/releases/download/RELEASE.${PORTVERSION}/
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Graphical certification authority
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
BUILD_DEPENDS= gsed:textproc/gsed
LIB_DEPENDS= libltdl.so:devel/libltdl
USES= 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
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed
CONFIGURE_ARGS= --with-openssl=${OPENSSLDIR} \
--with-qt=${PREFIX} \
--with-qt-version=5
MAKE_ARGS= DOCTOOL="${TRUE}"
SHEBANG_FILES= doc/code2html
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>