blob: cefc373d00daf640780991e7822243d0e2716da3 (
plain)
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
|
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= hamsterdb
PORTVERSION= 2.1.11
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://files.hamsterdb.com/dl/
MAINTAINER= wen@FreeBSD.org
COMMENT= Lightweight Embedded Database Engine
LICENSE= APACHE20
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-boost=${LOCALBASE}
INSTALL_TARGET= install-strip
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
USES= alias gmake libtool
USE_LDCONFIG= yes
HAM_DOCS= README INSTALL ChangeLog TODO AUTHORS CREDITS
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/unittests/Makefile.in
${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/tools/ham_bench/Makefile.in
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${HAM_DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>
|