diff --git a/devel/gettext-tools/Makefile b/devel/gettext-tools/Makefile index f49004bd43e8..ae5f960afa28 100644 --- a/devel/gettext-tools/Makefile +++ b/devel/gettext-tools/Makefile @@ -1,59 +1,59 @@ # NOTE: before committing to this port, contact portmgr to arrange for an # experimental ports run. Untested commits may be backed out at portmgr's # discretion. PORTNAME= gettext-tools -PORTREVISION= 0 +PORTREVISION= 1 COMMENT= GNU gettext development and translation tools WWW= https://www.gnu.org/software/gettext/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/../COPYING .include "${.CURDIR}/../gettext/Makefile.common" BUILD_DEPENDS= libtextstyle>=${PORTVERSION}:devel/libtextstyle LIB_DEPENDS= libtextstyle.so:devel/libtextstyle USES= charsetfix cpe gettext-runtime iconv libtool localbase tar:xz USE_LDCONFIG= yes CPE_PRODUCT= gettext CPE_VENDOR= gnu GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-csharp --disable-java --with-included-glib \ --with-included-libcroco --with-included-libunistring \ --with-included-libxml --with-installed-libtextstyle \ --with-xz --without-emacs \ ac_cv_lib_rt_sched_yield=no INSTALL_TARGET= install-strip TEST_TARGET= check WRKSRC_SUBDIR= gettext-tools DATADIR= ${PREFIX}/share/gettext DOCSDIR= ${PREFIX}/share/doc/gettext PLIST_SUB= PORTVERSION=${PORTVERSION} VERSION=${PORTVERSION} INFO= gettext OPTIONS_DEFINE= DOCS EXAMPLES THREADS OPTIONS_DEFAULT=THREADS OPTIONS_EXCLUDE_DragonFly= THREADS THREADS_CONFIGURE_ENABLE= threads post-patch: # Point some files to the installed gettext-runtime. @${LN} -s ${LOCALBASE}/include/libintl.h \ ${WRKSRC}/../gettext-runtime/intl/libgnuintl.h @${ECHO_CMD} $$'# Generated by libtool\nlibrary_names=libintl.so\nlibdir=${LOCALBASE}/lib' \ > ${WRKSRC}/../gettext-runtime/intl/libintl.la @${ECHO_CMD} $$'# Generated by libtool\nlibrary_names=libasprintf.so\nlibdir=${LOCALBASE}/lib' \ > ${WRKSRC}/../gettext-runtime/libasprintf/libasprintf.la post-install: ${RMDIR} ${STAGEDIR}${PREFIX}/lib/gettext .include diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index ef3b3598c398..170e4515ae0f 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -1,146 +1,147 @@ PORTNAME= glib DISTVERSION= 2.84.1 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Some useful routines of C programming (current stable version) WWW= https://www.gtk.org/ LICENSE= LGPL20 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} LIB_DEPENDS= libffi.so:devel/libffi \ libinotify.so:devel/libinotify \ libpcre2-8.so:devel/pcre2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} TEST_DEPENDS= dbus-uuidgen:devel/dbus \ update-desktop-database:devel/desktop-file-utils \ update-mime-database:misc/shared-mime-info FLAVORS= default bootstrap FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes default_EXTRACT_DEPENDS= ${LOCALBASE}/gobject-introspection-bootstrap/bin/g-ir-scanner:devel/gobject-introspection@bootstrap default_USES= trigger bootstrap_PKGNAMESUFFIX= -bootstrap # iconv:wchar_t - our iconv in base doesn't support utf-8 -> wchar_t (boooo) # (wchar_t is used by glibmm, rawtherapee triggered this) USES= compiler:c11 cpe gettext gnome iconv:wchar_t localbase:ldflags \ meson perl5 pkgconfig python tar:xz ${${FLAVOR}_USES} USE_LDCONFIG= yes USE_PERL5= build USE_PYTHON= py3kplist TRIGGERS= gio-modules glib-schemas MESON_ARGS= -Db_lundef=false \ -Ddefault_library=both \ -Dfile_monitor_backend='libinotify-kqueue' \ -Dinstalled_tests=false \ -Dlibmount=disabled \ -Druntime_dir=/var/run \ -Dselinux=disabled \ -Dsysprof=disabled \ -Dsystemtap=disabled \ -Dxattr=false BINARY_ALIAS= python3=${PYTHON_CMD} PORTSCOUT= limitw:1,even CPE_VENDOR= gnome CONFLICTS_INSTALL= p5-Giovanni _LIBVERSION= 0.${DISTVERSION:R:E}00.${DISTVERSION:E} PLIST_SUB= LIBVERSION=${_LIBVERSION} OPTIONS_DEFINE= DOCS FAM_ALTBACKEND MANPAGES NLS TEST OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} DOCS_IMPLIES= MANPAGES TEST DOCS_MESON_TRUE= documentation FAM_ALTBACKEND_DESC= Alternate file monitor backend MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_MESON_ENABLED= man-pages TEST_MESON_TRUE= tests # doesn't build yet MESON_ARGS+= -Ddtrace=disabled .if ${FLAVOR:U} == bootstrap MESON_ARGS+= -Dintrospection=disabled -Ddocumentation=false -Dman-pages=disabled OPTIONS_DEFINE= PREFIX= ${LOCALBASE}/glib-bootstrap PLIST_SUB+= PORTDOCS='@comment ' NLS='@comment ' MANPAGES='@comment ' .else BINARY_ALIAS+= g-ir-scanner=${LOCALBASE}/gobject-introspection-bootstrap/bin/g-ir-scanner MESON_ARGS+= -Dintrospection=enabled .endif .if ${FLAVOR:U} == default post-extract: ${CP} -r ${LOCALBASE}/gobject-introspection-bootstrap/libdata/pkgconfig ${PKGCONFIG_LINKDIR} ${CP} ${LOCALBASE}/glib-bootstrap/libdata/pkgconfig/* ${PKGCONFIG_LINKDIR} .endif pre-configure-FAM_ALTBACKEND-on: @${REINPLACE_CMD} -e 's|kqueue-helper.c|kqueue_fnm.c|g ; \ s|.*kqueue-missing.c.*||g ; \ s|.*dep-list.c.*||g' \ ${WRKSRC}/gio/kqueue/meson.build @${CP} -f ${FILESDIR}/gkqueuefilemonitor.c ${WRKSRC}/gio/kqueue/gkqueuefilemonitor.c @${CP} ${FILESDIR}/kqueue_fnm.c ${WRKSRC}/gio/kqueue/kqueue_fnm.c @${CP} ${FILESDIR}/kqueue_fnm.h ${WRKSRC}/gio/kqueue/kqueue_fnm.h post-patch: ${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \ ${WRKSRC}/gio/gdbus-2.0/codegen/gdbus-codegen.in \ ${WRKSRC}/glib/gtester-report.in \ ${WRKSRC}/gobject/glib-genmarshal.in \ ${WRKSRC}/gobject/glib-mkenums.in ${REINPLACE_CMD} -e '/inotify_init1/d' \ -e '/inotify.h/d' \ ${WRKSRC}/meson.build ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/gio/xdgmime/xdgmime.c \ ${WRKSRC}/glib/gutils.c \ ${WRKSRC}/glib/tests/utils.c CODEGENDIR= ${PREFIX}/share/glib-2.0/codegen post-install-DOCS-on: # this doc file gets created conditionally, so instead of adding another # PLIST_SUB item just create an empty file if it is missing ${TOUCH} ${STAGEDIR}${DOCSDIR}-2.0/const.VA_COPY_AS_ARRAY.html post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gio/modules # generates .py[co] files for installed modules # if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted # with these files when module is imported from root user ${FIND} ${STAGEDIR}${PREFIX} -name \*.pyc -delete (cd ${STAGEDIR}${PREFIX} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${CODEGENDIR} -f ${CODEGENDIR:S;${PREFIX}/;;} && \ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${CODEGENDIR} -f ${CODEGENDIR:S;${PREFIX}/;;}) # install bash completion regardless if bash is present ${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions .for file in gapplication gdbus gio gresource gsettings ${INSTALL_DATA} ${WRKSRC}/gio/completion/${file} \ ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ .endfor ${RM} -r ${STAGEDIR}${PREFIX}/libexec/installed-tests pre-test: ${LOCALBASE}/bin/dbus-uuidgen > /var/lib/dbus/machine-id .include diff --git a/devel/pkgconf/Makefile b/devel/pkgconf/Makefile index e7c4a8f2eaf0..36f3d686afb8 100644 --- a/devel/pkgconf/Makefile +++ b/devel/pkgconf/Makefile @@ -1,35 +1,36 @@ PORTNAME= pkgconf PORTVERSION= 2.3.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= https://distfiles.ariadne.space/${PORTNAME}/ # NOTE: before committing to this port, contact portmgr to arrange for an # experimental ports run. Untested commits may be backed out at portmgr's # discretion. MAINTAINER= bapt@FreeBSD.org COMMENT= Utility to help to configure compiler and linker flags WWW= https://gitea.treehouse.systems/ariadne/${PORTNAME} LICENSE= ISCL TEST_DEPENDS= kyua:devel/kyua USES= cpe tar:xz libtool pathfix GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip USE_LDCONFIG= yes TEST_TARGET= check CONFIGURE_ARGS= --with-pkg-config-dir=${PREFIX}/libdata/pkgconfig:/usr/libdata/pkgconfig:${PREFIX}/share/pkgconfig \ --with-system-libdir=/usr/lib \ --with-system-includedir=/usr/include OPTIONS_DEFINE= DOCS TESTING_UNSAFE= tests/Kyuafile:5: Non-existent test program 'tests/basic' post-install: ${LN} -sf pkgconf ${STAGEDIR}${PREFIX}/bin/pkg-config .include