5bc1617efc
This is again a part of the project to stop extraneous escaping of ordinary characters and redefine some ordinary escapes as special behavior. Most of these ports are pushed over to use textproc/gsed because they want to use GNU extensions. Others are fixed to either escape appropriately (e.g. $$ rather than \$ in Makefiles!) or just remove redundant escapes (e.g. backtick in single quotes doesn't need escaped). PR: 229925 MFH: no (invasive risk)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Valentin Zahariev <curly@e-card.bg>
|
|
# $FreeBSD$
|
|
|
|
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>
|