1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/security/xca/Makefile
Tobias C. Berner 62ede14c75 Get rid of QT_PREFIX in favour of PREFIX.
QT_PREFIX was a remnant of a bygone time.

Reviewed by:    rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D8825
2016-12-18 22:06:50 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Valentin Zahariev <curly@e-card.bg>
# $FreeBSD$
PORTNAME= xca
PORTVERSION= 1.3.2
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical certification authority
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libltdl.so:devel/libltdl
USES= desktop-file-utils gmake localbase pkgconfig \
shared-mime-info ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl=${OPENSSLDIR} \
--with-qt=${PREFIX}
MAKE_ARGS= DOCTOOL="${TRUE}"
DESTDIRNAME= destdir
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT= QT4 QT5
OPTIONS_DEFAULT= QT4
QT4_USE= qt4=gui,linguist_build,moc_build,qmake_build \
qt4=rcc_build,uic_build
QT5_USE= qt5=widgets,buildtools_build,linguist_build
TOOLKIT_DESC= Qt toolkit
post-patch:
@${REINPLACE_CMD} -e \
'/^CFLAGS/s|-O2||' ${WRKSRC}/Local.mak.in
@${REINPLACE_CMD} -e \
'/install/s|-D|-c|' ${WRKSRC}/img/Makefile
post-patch-QT5-off:
@${REINPLACE_CMD} -e \
's|Qt5|Qt0|g' ${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xca*
.include <bsd.port.mk>