1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/security/xca/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

49 lines
1.5 KiB
Makefile

# New ports collection makefile for: xca
# Date created: 2002-12-23
# Whom: Valentin Zahariev <curly@e-card.bg>
#
# $FreeBSD$
#
PORTNAME= xca
PORTVERSION= 0.5.1
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= curly@e-card.bg
COMMENT= Graphical certification authority
LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
USE_GMAKE= yes
USE_OPENSSL= yes
USE_QT_VER= 3
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700019
BROKEN= Does not compile on FreeBSD >= 7.0
.endif
post-patch:
@echo "CPPFLAGS= -I. -I.. -I${OPENSSLINC} ${QTCPPFLAGS} -I${LOCALBASE}/include/db4" > ${WRKSRC}/Local.mak
@echo "CFLAGS= ${CFLAGS}" >> ${WRKSRC}/Local.mak
@echo "LDFLAGS= ${LDFLAGS}" >> ${WRKSRC}/Local.mak
@echo "LIBS= ${QTCFGLIBS} -lqt-mt -L${OPENSSLLIB} -lcrypto -ldb4_cxx ${PTHREAD_LIBS}" >> ${WRKSRC}/Local.mak
@echo "MOC=${MOC}" >> ${WRKSRC}/Local.mak
@echo "UIC=${QT_PREFIX}/bin/uic" >> ${WRKSRC}/Local.mak
@echo "CC=${CXX}" >> ${WRKSRC}/Local.mak
@echo "LD=${LD}" >> ${WRKSRC}/Local.mak
@echo "STRIP=${STRIP_CMD}" >> ${WRKSRC}/Local.mak
@echo "prefix=${PREFIX}" >> ${WRKSRC}/Local.mak
@echo "etc=${PREFIX}/etc/xca" >> ${WRKSRC}/Local.mak
@echo "basedir=" >> ${WRKSRC}/Local.mak
@${REINPLACE_CMD} -E -e 's|QFont\ font\(\ font\(\)\ \)|QFont font|' ${WRKSRC}/widgets/clicklabel.cpp
@${REINPLACE_CMD} -E -e 's|(install[\ \:]+xca\.1)\.gz|\1|g' ${WRKSRC}/doc/Makefile
MAN1= xca.1
.include <bsd.port.post.mk>