summaryrefslogblamecommitdiff
path: root/security/gpgme03/Makefile
blob: 1e73b84d0a9da4ddc3a1e35cc01115720f474b28 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                       
                      
                        

                                    
 
                                 
                                                        

                                              
                                            
 
                   
                               
                                              


                   











                                                


                                           
                           
# New ports collection makefile for:	gpgme
# Date created:		15 June 2001
# Whom:			teramoto@comm.eng.osaka-u.ac.jp
#
# $FreeBSD$
#

PORTNAME=	gpgme
PORTVERSION=	0.3.15
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR=	gpgme

MAINTAINER=	markun@onohara.to
COMMENT=	A library to make access to GnuPG easier

BUILD_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
LIB_DEPENDS=	pth.20:${PORTSDIR}/devel/pth

USE_LIBTOOL=	yes
CONFIGURE_ARGS=	--without-gpgsm
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes

.include <bsd.port.pre.mk>

.if exists(${LOCALBASE}/bin/gpgsm)
WITH_GPGSM=	yes
.endif

.if defined(WITH_GPGSM)
BUILD_DEPENDS+=	gpgsm:${PORTSDIR}/security/newpg
.else
CONFIGURE_ARGS+=	--without-gpgsm
.endif

pre-configure:
	@${RM} -r ${WRKSRC}/doc/gpgme.info*

.include <bsd.port.post.mk>