security/xca: fix build on head

- Fix build on head [1]
- Trim Makefile header
- USES gmake shared-mime-info

PR:		ports/182090
Submitted by:	freebsd _AT_ nagilum.org (maintainer)
This commit is contained in:
William Grzybowski 2013-09-16 17:39:26 +00:00
parent e5ec23072b
commit f9f8c83e4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327427

View file

@ -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>