aboutsummaryrefslogtreecommitdiff
path: root/security/xca
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-16 17:39:26 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-16 17:39:26 +0000
commitf9f8c83e4c9305c2ef349a2bbc6d4fb49449a617 (patch)
tree3d5c99d6bc7a06bf7bbe4f49ee5f36ebbae56a2c /security/xca
parente5ec23072ba2eeb1704beca3935f3a3446693b85 (diff)
Notes
Diffstat (limited to 'security/xca')
-rw-r--r--security/xca/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/security/xca/Makefile b/security/xca/Makefile
index 2f71ee3b2c93..7a44305fdfae 100644
--- a/security/xca/Makefile
+++ b/security/xca/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xca
-# Date created: 2002-12-23
-# Whom: Valentin Zahariev <curly@e-card.bg>
-#
+# Created by: Valentin Zahariev <curly@e-card.bg>
# $FreeBSD$
-#
PORTNAME= xca
PORTVERSION= 0.9.3
@@ -16,14 +12,10 @@ COMMENT= Graphical certification authority
LICENSE= BSD
-RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info
-
-USE_GMAKE= yes
USE_OPENSSL= yes
USE_QT4= gui moc_build uic_build qmake_build rcc_build linguist_build
USE_AUTOTOOLS= libltdl
-CC?= gcc
-CXX?= g++
+USES= gmake shared-mime-info
MAN1= xca.1
MANCOMPRESSED= yes
@@ -52,7 +44,7 @@ post-patch:
@${REINPLACE_CMD} -e "/VPATH/{G;s/$$/TOPDIR_/;}" -e "s:\(TOPDIR\)_:\1=${WRKSRC}:" ${WRKSRC}/misc/Makefile
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/lib/import.cpp
-post-install:
- @-update-mime-database ${PREFIX}/share/mime
+post-configure:
+ ${REINPLACE_CMD} -e 's/-lQtGui/-lQtCore -lQtGui/' ${WRKSRC}/Local.mak
.include <bsd.port.mk>