Changeset View
Changeset View
Standalone View
Standalone View
graphics/libopenraw/Makefile
Show All 14 Lines | |||||
COMMENT= Library for camera RAW files decoding | COMMENT= Library for camera RAW files decoding | ||||
LICENSE= LGPL3+ | LICENSE= LGPL3+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER | LICENSE_FILE= ${WRKSRC}/COPYING.LESSER | ||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs | BUILD_DEPENDS= ${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs | ||||
TEST_DEPENDS= curl:ftp/curl | TEST_DEPENDS= curl:ftp/curl | ||||
USES= cargo compiler:c++14-lang gnome jpeg libtool localbase pkgconfig \ | USES= cargo:configure compiler:c++14-lang gnome jpeg libtool \ | ||||
tar:bz2 | localbase pkgconfig tar:bz2 | ||||
USE_GNOME= libxml2 | USE_GNOME= libxml2 | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include \ | CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include \ | ||||
--disable-silent-rules | --disable-silent-rules | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
TEST_TARGET= check | TEST_TARGET= check | ||||
▲ Show 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | CARGO_CRATES= ahash-0.3.8 \ | ||||
unicode-width-0.1.8 \ | unicode-width-0.1.8 \ | ||||
unicode-xid-0.2.1 \ | unicode-xid-0.2.1 \ | ||||
vec_map-0.8.2 \ | vec_map-0.8.2 \ | ||||
wasi-0.9.0+wasi-snapshot-preview1 \ | wasi-0.9.0+wasi-snapshot-preview1 \ | ||||
winapi-0.3.9 \ | winapi-0.3.9 \ | ||||
winapi-i686-pc-windows-gnu-0.4.0 \ | winapi-i686-pc-windows-gnu-0.4.0 \ | ||||
winapi-util-0.1.5 \ | winapi-util-0.1.5 \ | ||||
winapi-x86_64-pc-windows-gnu-0.4.0 | winapi-x86_64-pc-windows-gnu-0.4.0 | ||||
CARGO_CARGOTOML=${WRKSRC}/lib/mp4/Cargo.toml | CARGO_CARGOTOML=lib/mp4 lib/mp4/mp4parse_capi | ||||
CARGO_CARGOLOCK=${WRKSRC}/lib/mp4/mp4parse_capi/Cargo.lock | CARGO_CARGOLOCK=lib/mp4/mp4parse_capi | ||||
CARGO_BUILD= no | |||||
CARGO_INSTALL= no | |||||
CARGO_TEST= no | |||||
PLIST_SUB= VER=${PORTVERSION:R} | PLIST_SUB= VER=${PORTVERSION:R} | ||||
OPTIONS_DEFINE= GNOME TEST | OPTIONS_DEFINE= GNOME TEST | ||||
OPTIONS_DEFAULT= GNOME | OPTIONS_DEFAULT= GNOME | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
GNOME_CONFIGURE_ENABLE= gnome | GNOME_CONFIGURE_ENABLE= gnome | ||||
GNOME_USES= gettext-runtime | GNOME_USES= gettext-runtime | ||||
GNOME_USE= GNOME=glib20,gdkpixbuf2 | GNOME_USE= GNOME=glib20,gdkpixbuf2 | ||||
TEST_BUILD_DEPENDS= curl:ftp/curl | TEST_BUILD_DEPENDS= curl:ftp/curl | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -E \ | @${REINPLACE_CMD} -E \ | ||||
-e 's|\{libdir\}/pkgconfig|{prefix}/libdata/pkgconfig|g' \ | -e 's|\{libdir\}/pkgconfig|{prefix}/libdata/pkgconfig|g' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
post-patch-TEST-off: | post-patch-TEST-off: | ||||
@${REINPLACE_CMD} -e 's|testsuite ||' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e 's|testsuite ||' ${WRKSRC}/Makefile.in | ||||
pre-configure: | |||||
@${CARGO_CARGO_RUN} update \ | |||||
--manifest-path ${WRKSRC}/lib/mp4/mp4parse_capi/Cargo.toml \ | |||||
--verbose | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |