freebsd-ports/security/newpki-client/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

49 lines
1.2 KiB
Makefile

# 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
PORTREVISION= 2
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
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>