1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

- Update to alpha-20170902

- Build python2 and python3 bindings
- Remove DOCS option, the 2 text files do not carry very useful information
This commit is contained in:
Antoine Brodin 2017-09-03 12:37:13 +00:00
parent 9c9760afb8
commit 30f5d95ba4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449201
4 changed files with 21 additions and 28 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libbde
DISTVERSION= alpha-20170204
DISTVERSION= alpha-20170902
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libbde/releases/download/${PORTVERSION:E}/ \
LOCAL/antoine
@ -13,24 +13,28 @@ COMMENT= Library and tools to access the BitLocker Drive Encryption volumes
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= python${PYTHON2_DEFAULT}:lang/python${PYTHON2_DEFAULT:S/.//} \
python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//}
RUN_DEPENDS= python${PYTHON2_DEFAULT}:lang/python${PYTHON2_DEFAULT:S/.//} \
python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python
USES= fuse libtool pathfix pkgconfig python ssl
CONFIGURE_ARGS= --enable-python2 --enable-python3
CONFIGURE_ENV= PYTHON2_CONFIG=${LOCALBASE}/bin/python${PYTHON2_DEFAULT}-config \
PYTHON3=${LOCALBASE}/bin/python${PYTHON3_DEFAULT} \
PYTHON3_CONFIG=${LOCALBASE}/bin/python${PYTHON3_DEFAULT}-config
USES= fuse libtool pathfix pkgconfig ssl
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
LIBS+= -L${OPENSSLLIB}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
PLIST_SUB= PYTHON2_SITELIBDIR=lib/python${PYTHON2_DEFAULT}/site-packages \
PYTHON3_SITELIBDIR=lib/python${PYTHON3_DEFAULT}/site-packages
OPTIONS_DEFINE= DOCS NLS
OPTIONS_DEFINE= NLS
NLS_USES= gettext
NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
NLS_CONFIGURE_OFF= --disable-nls
PORTDOCS= AUTHORS ChangeLog
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1486311298
SHA256 (libbde-alpha-20170204.tar.gz) = 5a23a6a602993a74f60af724a31241ded051a65f6715d38afd8a67c1fe05d0ad
SIZE (libbde-alpha-20170204.tar.gz) = 1656035
TIMESTAMP = 1504352091
SHA256 (libbde-alpha-20170902.tar.gz) = d8953b967f70227c3aa14d981f73f08408ac5d49ceb3ab6e72c88b2df12b7cfe
SIZE (libbde-alpha-20170902.tar.gz) = 1657181

View File

@ -1,13 +0,0 @@
# Allow building when an older version of libbde is installed
--- pybde/Makefile.in.orig 2017-02-05 12:42:14 UTC
+++ pybde/Makefile.in
@@ -191,7 +191,7 @@ AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/common
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/common -I$(top_builddir)/include
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f

View File

@ -11,8 +11,10 @@ lib/libbde.a
lib/libbde.so
lib/libbde.so.1
lib/libbde.so.1.0.0
%%PYTHON_SITELIBDIR%%/pybde.a
%%PYTHON_SITELIBDIR%%/pybde.so
%%PYTHON2_SITELIBDIR%%/pybde.a
%%PYTHON2_SITELIBDIR%%/pybde.so
%%PYTHON3_SITELIBDIR%%/pybde.a
%%PYTHON3_SITELIBDIR%%/pybde.so
libdata/pkgconfig/libbde.pc
man/man1/bdeinfo.1.gz
man/man1/bdemount.1.gz