aboutsummaryrefslogtreecommitdiff
path: root/databases/lmdb/Makefile
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-07-02 18:13:48 +0000
committerXin LI <delphij@FreeBSD.org>2015-07-02 18:13:48 +0000
commit6d3cd0eac4e7d3958f660743c756cc7f07e5d33f (patch)
treeb9b9250bc80dae25c144d3e4a42f464d738e6fb2 /databases/lmdb/Makefile
parente7b964cc33ee33117e832cf814466a05b96602d4 (diff)
downloadports-6d3cd0eac4e7d3958f660743c756cc7f07e5d33f.tar.gz
ports-6d3cd0eac4e7d3958f660743c756cc7f07e5d33f.zip
Notes
Diffstat (limited to 'databases/lmdb/Makefile')
-rw-r--r--databases/lmdb/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/databases/lmdb/Makefile b/databases/lmdb/Makefile
index 828222c8d93b..4c34dca15328 100644
--- a/databases/lmdb/Makefile
+++ b/databases/lmdb/Makefile
@@ -2,28 +2,29 @@
# $FreeBSD$
PORTNAME= lmdb
-PORTVERSION= 0.9.14
-PORTREVISION= 1
+PORTVERSION= 0.9.15
CATEGORIES= databases
-MASTER_SITES= LOCAL/delphij
-# https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive/${GO_TAGNAME}.tar.gz?dummy=
MAINTAINER= delphij@FreeBSD.org
COMMENT= OpenLDAP Lightning Memory-Mapped Database
+LICENSE= OPENLDAP
+LICENSE_NAME= OpenLDAP Public License
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
# XXX FreeBSD does not implement O_DSYNC and fdatasync at this time.
CFLAGS+= -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync
-WRKSRC= ${WRKDIR}/mdb-mdb/libraries/liblmdb
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME:tu}_${PORTVERSION}/libraries/liblmdb
MAKE_ENV+= CC="${CC}"
MAKE_ENV+= XCFLAGS="${CFLAGS} -pthread" prefix="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}"
MAKE_ENV+= INSTALL_LIB="${INSTALL_LIB}" INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
USE_LDCONFIG= yes
-GO_ACCOUNT= mdb
-GO_PROJECT= mdb
-GO_TAGNAME= ${PORTNAME:tu}_${PORTVERSION}
-FETCH_ARGS?= -o ${DISTDIR}/${DISTFILES}
+USE_GITHUB= yes
+GH_ACCOUNT= ${PORTNAME:tu}
+GH_TAGNAME= ${PORTNAME:tu}_${PORTVERSION}
MDB_APPS= copy dump load stat