mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
- Build python2 and python3 bindings (fixes py36 flavor of py-dfwinreg at
runtime) - Remove DOCS option, the 2 text files do not carry useful information
This commit is contained in:
parent
49ec1aaadf
commit
39db1a8af6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457031
2 changed files with 18 additions and 11 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= libregf
|
PORTNAME= libregf
|
||||||
DISTVERSION= alpha-20170130
|
DISTVERSION= alpha-20170130
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= https://github.com/libyal/libregf/releases/download/${PORTVERSION:E}/ \
|
MASTER_SITES= https://github.com/libyal/libregf/releases/download/${PORTVERSION:E}/ \
|
||||||
LOCAL/antoine
|
LOCAL/antoine
|
||||||
|
@ -13,26 +14,30 @@ COMMENT= Library and tools to support the Windows NT Registry File format
|
||||||
LICENSE= LGPL3+
|
LICENSE= LGPL3+
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
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/.//}
|
||||||
LIB_DEPENDS= libfwnt.so:devel/libfwnt \
|
LIB_DEPENDS= libfwnt.so:devel/libfwnt \
|
||||||
libfwsi.so:devel/libfwsi
|
libfwsi.so:devel/libfwsi
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --enable-python --with-libfwnt=${LOCALBASE} --with-libfwsi=${LOCALBASE}
|
CONFIGURE_ARGS= --enable-python2 --enable-python3 \
|
||||||
USES= fuse libtool pathfix pkgconfig python
|
--with-libfwnt=${LOCALBASE} --with-libfwsi=${LOCALBASE}
|
||||||
|
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
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
|
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_USES= gettext
|
||||||
NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
|
NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
|
||||||
NLS_CONFIGURE_OFF= --disable-nls
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -12,8 +12,10 @@ lib/libregf.a
|
||||||
lib/libregf.so
|
lib/libregf.so
|
||||||
lib/libregf.so.1
|
lib/libregf.so.1
|
||||||
lib/libregf.so.1.0.0
|
lib/libregf.so.1.0.0
|
||||||
%%PYTHON_SITELIBDIR%%/pyregf.a
|
%%PYTHON2_SITELIBDIR%%/pyregf.a
|
||||||
%%PYTHON_SITELIBDIR%%/pyregf.so
|
%%PYTHON2_SITELIBDIR%%/pyregf.so
|
||||||
|
%%PYTHON3_SITELIBDIR%%/pyregf.a
|
||||||
|
%%PYTHON3_SITELIBDIR%%/pyregf.so
|
||||||
libdata/pkgconfig/libregf.pc
|
libdata/pkgconfig/libregf.pc
|
||||||
man/man1/regfinfo.1.gz
|
man/man1/regfinfo.1.gz
|
||||||
man/man3/libregf.3.gz
|
man/man3/libregf.3.gz
|
||||||
|
|
Loading…
Add table
Reference in a new issue