summaryrefslogblamecommitdiff
path: root/databases/sqlcipher/Makefile
blob: 9d7267da906b38d887cb255a55406661e3f5afa3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                         
                         
                     

                         

                                         
                                                  
 
                          
                                    
 

                                                            
                   
                   
 


                                                                       

                                                      


                                                                              
 
                      
PORTNAME=	sqlcipher
DISTVERSIONPREFIX=	v
DISTVERSION=	4.5.6
CATEGORIES=	databases

MAINTAINER=	jharris@widomaker.com
COMMENT=	Encrypted SQLite database
WWW=		https://www.zetetic.net/sqlcipher/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.md

USES=		cpe libedit libtool pathfix ssl tcl:86,build
CPE_VENDOR=	zetetic
USE_LDCONFIG=	yes
USE_GITHUB=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--enable-tempstore=yes --disable-tcl --disable-readline
CPPFLAGS+=	-DSQLITE_HAS_CODEC
LDFLAGS+=	-L${LOCALBASE}/lib -L${OPENSSLLIB}
CFLAGS+=	-I${LOCALBASE}/include -I${OPENSSLINC}

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so ${STAGEDIR}${PREFIX}/bin/*

.include <bsd.port.mk>