blob: 4bb838e9b4599e77872444a58fd28294eea615c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: newpki-client
# Date created: 2005-07-05
# Whom: Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#
PORTNAME= newpki-client
DISTVERSION= 2.0.0-beta4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= newpki
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ PKI client from newpki project
LIB_DEPENDS= newpki.2:${PORTSDIR}/security/newpki-lib \
xml2:${PORTSDIR}/textproc/libxml2
WRKSRC= ${WRKDIR}/${PORTNAME}-2.0.0
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_GNOME= gnometarget
USE_GMAKE= yes
USE_WX= 2.4
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${PREFIX}/lib" \
WXCONFIG=${WX_CONFIG}
CONFIGURE_ARGS+= --with-newpki-include=${PREFIX}/include/newpki \
--with-newpki-lib=${PREFIX}/lib \
--with-libxml2-include=${PREFIX}/include/libxml2
PLIST_FILES= bin/newpki-client
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
.else
USE_GETTEXT= yes
PLIST_FILES+= share/locale/fr/LC_MESSAGES/newpki-client.mo
CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE}
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "does not compile (C++ libraries compiled with conflicting gcc versions)"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>
|