diff options
author | madpilot <madpilot@FreeBSD.org> | 2013-11-07 02:11:17 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2013-11-07 02:11:17 +0800 |
commit | 441b4a7df7ceb0af23f37ad704cdfab12d108caf (patch) | |
tree | 36c2dd15d5eea76bc95ff274cb99147688e5c195 /security/xca | |
parent | 0c742ad3a7e578d230460783475ea61f6830e763 (diff) | |
download | freebsd-ports-gnome-441b4a7df7ceb0af23f37ad704cdfab12d108caf.tar.gz freebsd-ports-gnome-441b4a7df7ceb0af23f37ad704cdfab12d108caf.tar.zst freebsd-ports-gnome-441b4a7df7ceb0af23f37ad704cdfab12d108caf.zip |
- Fix build with new ld behavior (on 10 and head)
- Add USES=desktop-file-utils
- Convert to staging
- Use space in pkg-descr WWW line
- Remove redundant update-mime-database lines from pkg-plist
PR: ports/183702
Submitted by: Me
Approved by: FreeBSD@nagilum.org (maintainer)
Diffstat (limited to 'security/xca')
-rw-r--r-- | security/xca/Makefile | 20 | ||||
-rw-r--r-- | security/xca/pkg-descr | 2 | ||||
-rw-r--r-- | security/xca/pkg-plist | 3 |
3 files changed, 12 insertions, 13 deletions
diff --git a/security/xca/Makefile b/security/xca/Makefile index ec755ea05a56..035b828cb97c 100644 --- a/security/xca/Makefile +++ b/security/xca/Makefile @@ -3,7 +3,7 @@ PORTNAME= xca PORTVERSION= 0.9.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF @@ -15,17 +15,20 @@ LICENSE= BSD USE_OPENSSL= yes USE_QT4= gui moc_build uic_build qmake_build rcc_build linguist_build USE_AUTOTOOLS= libltdl -USES= gmake shared-mime-info +USES= desktop-file-utils gmake shared-mime-info +DESTDIRNAME= destdir -MAN1= xca.1 -MANCOMPRESSED= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 1000054 +LD_CXX_LIB= -lc++ +.endif -NO_STAGE= yes post-patch: @echo "CPPFLAGS=-I. -I.. -I${WRKSRC}/ui -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include" > ${WRKSRC}/Local.mak @echo "CFLAGS= ${CFLAGS} -Wall -ggdb" >> ${WRKSRC}/Local.mak @echo "LDFLAGS= ${LDFLAGS} -L${QT_LIBDIR} -L${LOCALBASE}/lib" >> ${WRKSRC}/Local.mak - @echo "LIBS= -lQtGui ${PTHREAD_LIBS} -lcrypto -lltdl" >> ${WRKSRC}/Local.mak + @echo "LIBS=-lQtCore -lQtGui ${PTHREAD_LIBS} -lcrypto -lltdl ${LD_CXX_LIB}" >> ${WRKSRC}/Local.mak @echo "MOC=${MOC}" >> ${WRKSRC}/Local.mak @echo "UIC=${QT_PREFIX}/bin/uic-qt4" >> ${WRKSRC}/Local.mak @echo "RCC=${LOCALBASE}/bin/rcc" >> ${WRKSRC}/Local.mak @@ -45,7 +48,4 @@ 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-configure: - ${REINPLACE_CMD} -e 's/-lQtGui/-lQtCore -lQtGui/' ${WRKSRC}/Local.mak - -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/xca/pkg-descr b/security/xca/pkg-descr index 53724cf106ed..49f6e509d47a 100644 --- a/security/xca/pkg-descr +++ b/security/xca/pkg-descr @@ -6,4 +6,4 @@ signing and revoking of PEM DER PKCS12, and selection of x509v3 extensions. A tree view of certificates is presented. Author: Christian Hohnstaedt <christian@hohnstaedt.de> -WWW: http://www.hohnstaedt.de/xca.html +WWW: http://www.hohnstaedt.de/xca.html diff --git a/security/xca/pkg-plist b/security/xca/pkg-plist index 61b37016ec40..9c27c3bf2034 100644 --- a/security/xca/pkg-plist +++ b/security/xca/pkg-plist @@ -14,6 +14,7 @@ bin/xca %%DATADIR%%/xca_ru.qm %%DATADIR%%/xca_tr.qm %%DOCSDIR%%/xca.html +man/man1/xca.1.gz share/applications/xca.desktop share/mime/packages/xca.xml share/pixmaps/xca-32x32.xpm @@ -21,5 +22,3 @@ share/pixmaps/xca-32x32.xpm @dirrm %%DOCSDIR%% @dirrmtry share/mime/packages @dirrmtry share/mime -@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true |