diff --git a/comms/opencbm/Makefile.inc b/comms/opencbm/Makefile.inc index 205b22757a11..27d6041c5561 100644 --- a/comms/opencbm/Makefile.inc +++ b/comms/opencbm/Makefile.inc @@ -1,20 +1,18 @@ -# Created by: Felix Palmen - OCBM_VERSION= 0.4.99.102 DISTVERSIONPREFIX= v DIST_SUBDIR= opencbm DISTINFO_FILE= ${.CURDIR}/../opencbm/distinfo PATCH_DIST_STRIP= -p1 PATCH_SITES= https://github.com/OpenCBM/OpenCBM/commit/ USE_GITHUB= yes GH_ACCOUNT= OpenCBM GH_PROJECT= OpenCBM PATCHDIR= ${.CURDIR}/../opencbm/files PATCH_WRKSRC= ${WRKDIR}/OpenCBM-${OCBM_VERSION} MAKE_ENV= USER_CFLAGS="${CFLAGS}" PLUGINBASENAME= ${PREFIX}/lib/opencbm/plugin/libopencbm- diff --git a/databases/rubygem-marginalia/Makefile b/databases/rubygem-marginalia/Makefile index 7c511f4f68b8..4ea68e6cb257 100644 --- a/databases/rubygem-marginalia/Makefile +++ b/databases/rubygem-marginalia/Makefile @@ -1,23 +1,21 @@ -# Created by Matthias Fechner - PORTNAME= marginalia PORTVERSION= 1.10.1 CATEGORIES= databases rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Attach comments to your ActiveRecord queries LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-actionpack61>=2.3:www/rubygem-actionpack61 \ rubygem-activerecord61>=2.3:databases/rubygem-activerecord61 USES= cpe gem CPE_VENDOR= ${PORTNAME}_project USE_RUBY= yes NO_ARCH= yes .include diff --git a/databases/timescaledb-backup/Makefile b/databases/timescaledb-backup/Makefile index b19d60d9aa19..734d48c1c1e7 100644 --- a/databases/timescaledb-backup/Makefile +++ b/databases/timescaledb-backup/Makefile @@ -1,59 +1,57 @@ -# Created by Kevin Bowling - PORTNAME= timescaledb-backup DISTVERSION= 0.1.1 PORTREVISION= 3 CATEGORIES= databases MAINTAINER= kbowling@FreeBSD.org COMMENT= Tool for performing TimescaleDB backups across versions LICENSE= TSL LICENSE_NAME= Timescale License Agreement LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= go:modules USE_GITHUB= yes GH_ACCOUNT= timescale GH_TUPLE= Microsoft:go-winio:v0.4.11:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \ Microsoft:hcsshim:v0.8.6:microsoft_hcsshim/vendor/github.com/Microsoft/hcsshim \ cenkalti:backoff:v2.2.1:cenkalti_backoff/vendor/github.com/cenkalti/backoff \ containerd:continuity:aaeac12a7ffc:containerd_continuity/vendor/github.com/containerd/continuity \ docker:distribution:0d3efadf0154:docker_distribution/vendor/github.com/docker/distribution \ docker:go-connections:v0.4.0:docker_go_connections/vendor/github.com/docker/go-connections \ docker:go-units:v0.3.3:docker_go_units/vendor/github.com/docker/go-units \ gogo:protobuf:v1.2.0:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:crypto:0ec3e9974c59:golang_crypto/vendor/golang.org/x/crypto \ golang:net:74dc4d7220e7:golang_net/vendor/golang.org/x/net \ golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sync:112230192c58:golang_sync/vendor/golang.org/x/sync \ golang:sys:c7b8b68b1456:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \ golang:xerrors:a985d3407aa7:golang_xerrors/vendor/golang.org/x/xerrors \ google:go-genproto:c66870c02cf8:google_go_genproto/vendor/google.golang.org/genproto \ grpc:grpc-go:v1.17.0:grpc_grpc_go/vendor/google.golang.org/grpc \ jackc:chunkreader:v2.0.1:jackc_chunkreader_v2/vendor/github.com/jackc/chunkreader/v2 \ jackc:pgconn:v1.5.0:jackc_pgconn/vendor/github.com/jackc/pgconn \ jackc:pgio:v1.0.0:jackc_pgio/vendor/github.com/jackc/pgio \ jackc:pgpassfile:v1.0.0:jackc_pgpassfile/vendor/github.com/jackc/pgpassfile \ jackc:pgproto3:v2.0.1:jackc_pgproto3_v2/vendor/github.com/jackc/pgproto3/v2 \ jackc:pgservicefile:3430c5407db8:jackc_pgservicefile/vendor/github.com/jackc/pgservicefile \ jackc:pgtype:v1.3.0:jackc_pgtype/vendor/github.com/jackc/pgtype \ jackc:pgx:v4.6.0:jackc_pgx_v4/vendor/github.com/jackc/pgx/v4 \ konsorten:go-windows-terminal-sequences:v1.0.2:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \ moby:moby:b20a14b54661:moby_moby/vendor/github.com/docker/docker \ opencontainers:go-digest:v1.0.0-rc1:opencontainers_go_digest/vendor/github.com/opencontainers/go-digest \ opencontainers:image-spec:v1.0.1:opencontainers_image_spec/vendor/github.com/opencontainers/image-spec \ opencontainers:runc:v0.1.1:opencontainers_runc/vendor/github.com/opencontainers/runc \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ satori:go.uuid:v1.2.0:satori_go_uuid/vendor/github.com/satori/go.uuid \ sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ testcontainers:testcontainers-go:v0.3.1:testcontainers_testcontainers_go/vendor/github.com/testcontainers/testcontainers-go GO_TARGET= ./cmd/ts-dump ./cmd/ts-restore PLIST_FILES= bin/ts-dump \ bin/ts-restore .include diff --git a/databases/timescaledb-tune/Makefile b/databases/timescaledb-tune/Makefile index 39b3a10af28e..c6d9e86a5cda 100644 --- a/databases/timescaledb-tune/Makefile +++ b/databases/timescaledb-tune/Makefile @@ -1,22 +1,20 @@ -# Created by Kevin Bowling - PORTNAME= timescaledb-tune DISTVERSIONPREFIX= v DISTVERSION= 0.12.0 PORTREVISION= 3 CATEGORIES= databases MAINTAINER= kbowling@FreeBSD.org COMMENT= Tool for tuning TimescaleDB for better performance LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules GO_MODULE= github.com/timescale/timescaledb-tune GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/timescaledb-tune .include diff --git a/devel/eric6/Makefile.inc b/devel/eric6/Makefile.inc index 3c6ab023316d..db296fb608d3 100644 --- a/devel/eric6/Makefile.inc +++ b/devel/eric6/Makefile.inc @@ -1,22 +1,21 @@ -# Created by: Boris Samorodov # # This is a set of Makefile macros which allow to build the # localized language packages for devel/eric6: # german/eric6, russian/eric6, devel/es-eric6 .include "${.CURDIR}/../../devel/eric6/bsd.eric6.mk" PKGNAMEPREFIX= ${I18N_LANG}- DISTNAME= ${PORTNAME}-i18n-${I18N_LANG}-${PORTVERSION} COMMENT= ${I18N_LANG} i18n package for Eric6 IDE NO_ARCH= yes NO_BUILD= yes PLIST_FILES= ${DATADIR}/i18n/${PORTNAME}_${I18N_LANG}.qm do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/i18n ${INSTALL_DATA} ${WRKSRC}/eric/eric6/i18n/${PORTNAME}_${I18N_LANG}.qm ${STAGEDIR}${DATADIR}/i18n/ .include diff --git a/devel/libgudev/Makefile b/devel/libgudev/Makefile index 88648a3cbe18..780c88b4e2a3 100644 --- a/devel/libgudev/Makefile +++ b/devel/libgudev/Makefile @@ -1,23 +1,21 @@ -# Created by johalun0@gmail.com - PORTNAME= libgudev PORTVERSION= 234 CATEGORIES= devel MASTER_SITES= GNOME MAINTAINER= x11@FreeBSD.org COMMENT= GObject bindings for libudev LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libudev.so:devel/libudev-devd USES= gettext-runtime gmake gnome libtool pathfix pkgconfig tar:xz USE_GNOME= glib20 introspection:build GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-umockdev .include diff --git a/devel/rubygem-gitlab-chronic/Makefile b/devel/rubygem-gitlab-chronic/Makefile index 48d780c5d1ee..ef037944fd61 100644 --- a/devel/rubygem-gitlab-chronic/Makefile +++ b/devel/rubygem-gitlab-chronic/Makefile @@ -1,20 +1,18 @@ -# Created by Matthias Fechner - PORTNAME= gitlab-chronic PORTVERSION= 0.10.6 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Natural language date/time parser written in pure Ruby LICENSE= MIT RUN_DEPENDS= rubygem-numerizer>=0.2<1.0:devel/rubygem-numerizer USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/devel/subversion-lts/Makefile.common b/devel/subversion-lts/Makefile.common index af3ca0c81c8d..013bfcd67720 100644 --- a/devel/subversion-lts/Makefile.common +++ b/devel/subversion-lts/Makefile.common @@ -1,114 +1,112 @@ -# Created by: rooneg@electricjellyfish.net - PORTNAME?= subversion PORTVERSION= 1.10.8 PORTREVISION?= 0 CATEGORIES+= devel MASTER_SITES= APACHE/subversion GNU_CONFIGURE= yes USES+= cpe libtool pathfix pkgconfig shebangfix tar:bzip2 SHEBANG_FILES= tools/server-side/svnpubsub/rc.d/svnpubsub.solaris \ tools/server-side/svnpubsub/rc.d/svnwcsub.solaris LICENSE= APACHE20 CPE_VENDOR= apache CONFLICTS_INSTALL+= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-1.[0-9].[0-9]* \ ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-1.1[0-9].[0-9]* LIB_DEPENDS+= libapr-1.so:devel/apr1 \ libsqlite3.so:databases/sqlite3 \ libexpat.so:textproc/expat2 \ libutf8proc.so:textproc/utf8proc \ liblz4.so:archivers/liblz4 CONFIGURE_ARGS+= --without-swig \ --with-sqlite=${LOCALBASE} \ --with-expat=${LOCALBASE}/include:${LOCALBASE}/lib:expat # =============================================================== OPTIONS_SUB= yes BDB_CONFIGURE_ON= --enable-bdb6 BDB_CONFIGURE_OFF= --without-berkeley-db BDB_USES= bdb NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext SASL_CONFIGURE_OFF= --without-sasl SASL_CONFIGURE_ON= --with-sasl=${LOCALBASE} SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SERF_CONFIGURE_OFF= --without-serf SERF_CONFIGURE_ON= --with-serf SERF_LIB_DEPENDS= libserf-1.so:www/serf GPG_AGENT_CONFIGURE_OFF= --without-gpg-agent GPG_AGENT_CONFIGURE_ON= --with-gpg-agent GPG_AGENT_BUILD_DEPENDS= gpg-agent:security/gnupg GPG_AGENT_RUN_DEPENDS= gpg-agent:security/gnupg STATIC_CONFIGURE_ON= --enable-all-static PKG_CONFIG="${LOCALBASE}/bin/pkg-config --static" # =============================================================== .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-maintainer-mode --enable-debug .endif APR_CONFIG= ${LOCALBASE}/bin/apr-1-config APU_CONFIG= ${LOCALBASE}/bin/apu-1-config CONFIGURE_ARGS+=--with-apr=${APR_CONFIG} --with-apr-util=${APU_CONFIG} .if ${ARCH} == "amd64" CFLAGS+= -fpic -DPIC .endif OPTIONS_FILE_UNSET?="" OPTIONS_FILE_SET?="" .if ( ${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE} ) && defined(ORGANIZATION) CFLAGS+= -DHAS_ORGANIZATION_NAME .endif .include pre-everything:: .if defined(SVN_BUILD_ADDONS) .if ${PORT_OPTIONS:MSTATIC} || ${OPTIONS_FILE_SET:MSTATIC} @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${ECHO_MSG} "!!! addons (bindings, mod_dav_svn, etc). and static build are not compatible !!!" @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${FALSE} .endif .endif pre-patch: .if defined(SVN_BUILD_ADDONS) @${CP} ${FILESDIR}/build-outputs.mk.addons ${WRKSRC}/build-outputs.mk .endif post-patch: .if ${PREFIX} != "/usr" @${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_file.c @${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_impl.h .endif @${REINPLACE_CMD} "s#^swig_pydir =.*#swig_pydir = ${PYTHON_SITELIBDIR}/libsvn#" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} "s#^swig_pydir_extra =.*#swig_pydir_extra = ${PYTHON_SITELIBDIR}/svn#" ${WRKSRC}/Makefile.in .if ( ${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE} ) && defined(ORGANIZATION) @${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h .endif # shebangfix @${FIND} ${WRKSRC}/tools/ -type f -exec ${GREP} -l -e '#!/bin/b' -e '#!/bin/env' \ -e '#!/usr/bin/p' {} + | ${XARGS} ${REINPLACE_CMD} -e \ '1s|#\!/bin/b|#\!/usr/local/bin/b|' \ -e '1s|#\!/bin/env|#\!/usr/bin/env|' \ -e '1s|#\!/usr/bin/p|#\!/usr/local/bin/p|' # remove all .bak files to clean the stage @${FIND} ${WRKSRC} -name '*.bak' -delete diff --git a/devel/subversion/Makefile.addons b/devel/subversion/Makefile.addons index fce48e041b70..c6e7e5869bcd 100644 --- a/devel/subversion/Makefile.addons +++ b/devel/subversion/Makefile.addons @@ -1,32 +1,30 @@ -# Created by: lev@FreeBSD.org - WITH_SUBVERSION_VER?= 114 PKGDIR= ${.CURDIR} SVN_BUILD_ADDONS= yes .if ${WITH_SUBVERSION_VER} == 114 CONFLICTS_BUILD+= ${PORTNAME}-1.[0-9].[0-9]* \ ${PORTNAME}-1.[^1][0-9].[0-9]* \ ${PORTNAME}-1.1[0-1].[0-9]* \ ${PORTNAME}-lts-1.[0-9][0-9].[0-9]* PORTREVISION= ${PORTREVISION_114:U0} PLIST_SUB+= SVN115="" SVNLTS="@comment " LIB_DEPENDS+= libsvn_client-1.so:devel/subversion OPTIONS_NAME= devel_subversion MASTERDIR= ${.CURDIR}/../../devel/subversion .include "${MASTERDIR}/Makefile.common" .elif ${WITH_SUBVERSION_VER} == LTS PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-lts CONFLICTS_BUILD+= ${PORTNAME}-1.[0-9].[0-9]* \ ${PORTNAME}-1.[0-9][0-9].[0-9]* PORTREVISION= ${PORTREVISION_LTS:U0} PLIST_SUB+= SVN114="@comment " SVNLTS="" LIB_DEPENDS+= libsvn_client-1.so:devel/subversion-lts OPTIONS_NAME= devel_subversion-lts MASTERDIR= ${.CURDIR}/../../devel/subversion-lts .include "${MASTERDIR}/Makefile.common" .else BROKEN= Wrong WITH_SUBVERSION_VER=${WITH_SUBVERSION_VER}, only 114 (default) and LTS are supported .endif diff --git a/devel/subversion/Makefile.common b/devel/subversion/Makefile.common index a38333f0533d..265fbe014e06 100644 --- a/devel/subversion/Makefile.common +++ b/devel/subversion/Makefile.common @@ -1,114 +1,112 @@ -# Created by: rooneg@electricjellyfish.net - PORTNAME?= subversion PORTVERSION= 1.14.2 PORTREVISION?= 0 CATEGORIES+= devel MASTER_SITES= APACHE/subversion GNU_CONFIGURE= yes USES+= cpe libtool pathfix pkgconfig shebangfix tar:bzip2 SHEBANG_FILES= tools/server-side/svnpubsub/rc.d/svnpubsub.solaris \ tools/server-side/svnpubsub/rc.d/svnwcsub.solaris LICENSE= APACHE20 CPE_VENDOR= apache CONFLICTS_INSTALL+= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-1.[0-9].[0-9]* \ ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-1.[^1][0-9].[0-9]* LIB_DEPENDS+= libapr-1.so:devel/apr1 \ libsqlite3.so:databases/sqlite3 \ libexpat.so:textproc/expat2 \ libutf8proc.so:textproc/utf8proc \ liblz4.so:archivers/liblz4 CONFIGURE_ARGS+= --without-swig \ --with-sqlite=${LOCALBASE} \ --with-expat=${LOCALBASE}/include:${LOCALBASE}/lib:expat # =============================================================== OPTIONS_SUB= yes BDB_CONFIGURE_ON= --enable-bdb6 BDB_CONFIGURE_OFF= --without-berkeley-db BDB_USES= bdb NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext SASL_CONFIGURE_OFF= --without-sasl SASL_CONFIGURE_ON= --with-sasl=${LOCALBASE} SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SERF_CONFIGURE_OFF= --without-serf SERF_CONFIGURE_ON= --with-serf SERF_LIB_DEPENDS= libserf-1.so:www/serf GPG_AGENT_CONFIGURE_OFF= --without-gpg-agent GPG_AGENT_CONFIGURE_ON= --with-gpg-agent GPG_AGENT_BUILD_DEPENDS= gpg-agent:security/gnupg GPG_AGENT_RUN_DEPENDS= gpg-agent:security/gnupg STATIC_CONFIGURE_ON= --enable-all-static PKG_CONFIG="${LOCALBASE}/bin/pkg-config --static" # =============================================================== .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-maintainer-mode --enable-debug .endif APR_CONFIG= ${LOCALBASE}/bin/apr-1-config APU_CONFIG= ${LOCALBASE}/bin/apu-1-config CONFIGURE_ARGS+=--with-apr=${APR_CONFIG} --with-apr-util=${APU_CONFIG} .if ${ARCH} == "amd64" CFLAGS+= -fpic -DPIC .endif OPTIONS_FILE_UNSET?="" OPTIONS_FILE_SET?="" .if ( ${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE} ) && defined(ORGANIZATION) CFLAGS+= -DHAS_ORGANIZATION_NAME .endif .include pre-everything:: .if defined(SVN_BUILD_ADDONS) .if ${PORT_OPTIONS:MSTATIC} || ${OPTIONS_FILE_SET:MSTATIC} @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${ECHO_MSG} "!!! addons (bindings, mod_dav_svn, etc). and static build are not compatible !!!" @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${FALSE} .endif .endif pre-patch: .if defined(SVN_BUILD_ADDONS) @${CP} ${FILESDIR}/build-outputs.mk.addons ${WRKSRC}/build-outputs.mk .endif post-patch: .if ${PREFIX} != "/usr" @${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_file.c @${REINPLACE_CMD} "s#/etc/subversion#${ETCDIR}#g" ${WRKSRC}/subversion/libsvn_subr/config_impl.h .endif @${REINPLACE_CMD} "s#^swig_pydir =.*#swig_pydir = ${PYTHON_SITELIBDIR}/libsvn#" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} "s#^swig_pydir_extra =.*#swig_pydir_extra = ${PYTHON_SITELIBDIR}/svn#" ${WRKSRC}/Makefile.in .if ( ${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE} ) && defined(ORGANIZATION) @${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h .endif # shebangfix @${FIND} ${WRKSRC}/tools/ -type f -exec ${GREP} -l -e '#!/bin/b' -e '#!/bin/env' \ -e '#!/usr/bin/p' {} + | ${XARGS} ${REINPLACE_CMD} -e \ '1s|#\!/bin/b|#\!/usr/local/bin/b|' \ -e '1s|#\!/bin/env|#\!/usr/bin/env|' \ -e '1s|#\!/usr/bin/p|#\!/usr/local/bin/p|' # remove all .bak files to clean the stage @${FIND} ${WRKSRC} -name '*.bak' -delete diff --git a/emulators/libretro-kronos/Makefile b/emulators/libretro-kronos/Makefile index c6358da06895..a11909bc30bc 100644 --- a/emulators/libretro-kronos/Makefile +++ b/emulators/libretro-kronos/Makefile @@ -1,60 +1,58 @@ -# Created by Timothy Beyer - PORTNAME= libretro-kronos PORTVERSION= 0.20210617 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= Sega Saturn and ST-V emulator forked from uoYabause for libretro LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/yabause/COPYING LIB_DEPENDS= libGL.so:graphics/mesa-libs # standalone version uses solely cmake, whereas the retroarch core uses both # cmake and gmake USES= cmake:noninja compiler:c++11-lib gl gmake pkgconfig qt:5 sdl USE_GITHUB= yes GH_ACCOUNT= FCare GH_PROJECT= Kronos GH_TAGNAME= a39f95a USE_GL= gl glew glu USE_LDCONFIG= yes USE_QT= core opengl buildtools_build qmake_build USE_SDL= sdl2 CMAKE_SOURCE_PATH= ${WRKSRC}/yabause MAKE_ARGS= USE_RTHREADS=1 CFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= lib/libretro/kronos_libretro.so pre-build: cd ${CMAKE_SOURCE_PATH} && ${CMAKE_BIN} . cd ${WRKSRC}/yabause/src && ${MAKE} m68kmake .include do-build: cd ${WRKSRC}/yabause/src/libretro && ${DO_MAKE_BUILD} post-patch: .if ${ARCH} != "amd64" @${REINPLACE_CMD} -e "s/HAVE_SSE = 1/HAVE_SSE = 0/" ${WRKSRC}/yabause/src/libretro/Makefile .endif do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/yabause/src/libretro/kronos_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile index efaea11ce5f7..155d00c30921 100644 --- a/games/scummvm/Makefile +++ b/games/scummvm/Makefile @@ -1,102 +1,100 @@ -#_ Created by: Alex Trull - PORTNAME= scummvm PORTVERSION= 2.5.1 PORTREVISION= 1 CATEGORIES= games emulators MASTER_SITES= https://downloads.scummvm.org/frs/${PORTNAME}/${PORTVERSION}/ MAINTAINER= kai@FreeBSD.org COMMENT= Interpreter for several adventure games LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liba52.so:audio/liba52 \ libfaad.so:audio/faad \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libmad.so:audio/libmad \ libmpeg2.so:multimedia/libmpeg2 \ libogg.so:audio/libogg \ libpng.so:graphics/png \ libtheoradec.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis USES= cpe gl gmake gnome iconv jpeg pkgconfig sdl tar:xz USE_GL= gl glew HAS_CONFIGURE= yes USE_SDL= sdl2 CONFIGURE_ARGS= --disable-alsa \ --disable-debug \ --disable-fluidlite \ --disable-gtk \ --disable-nasm \ --disable-tremor \ --enable-verbose-build \ --with-a52-prefix=${LOCALBASE} \ --with-jpeg-prefix=${LOCALBASE} \ --with-mad-prefix=${LOCALBASE} \ --with-ogg-prefix=${LOCALBASE} \ --with-png-prefix=${LOCALBASE} \ --with-sdl-prefix=${LOCALBASE} \ --with-vorbis-prefix=${LOCALBASE} \ --with-zlib-prefix=/usr LDFLAGS+= -lpthread OPTIONS_DEFINE= CURL DOCS FLAC GIF FLUIDSYNTH MT32EMU SNDIO TTS XENGINES OPTIONS_DEFAULT= GIF MT32EMU OPTIONS_SUB= yes CURL_DESC= Enable ScummVM cloud storage backend MT32EMU_DESC= MT-32 emulator TTS_DESC= Text-to-Speech support XENGINES_DESC= Experimental/Unstable engine support CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_ON= --with-libcurl-prefix=${LOCALBASE} CURL_CONFIGURE_OFF= --disable-libcurl FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_ON= --with-flac-prefix=${LOCALBASE} FLAC_CONFIGURE_OFF= --disable-flac FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_CONFIGURE_ON= --with-fluidsynth-prefix=${LOCALBASE} FLUIDSYNTH_CONFIGURE_OFF= --disable-fluidsynth GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_ON= --with-gif-prefix=${LOCALBASE} GIF_CONFIGURE_OFF= --disable-gif MT32EMU_CONFIGURE_OFF= --disable-mt32emu SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ON= --with-sndio-prefix=${LOCALBASE} SNDIO_CONFIGURE_OFF= --disable-sndio TTS_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher TTS_CONFIGURE_ON= --enable-tts TTS_CONFIGURE_OFF= --disable-tts XENGINES_CONFIGURE_ON= --enable-all-engines XENGINES_CONFIGURE_OFF= --disable-all-unstable-engines .include .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ENV+= ASFLAGS=-meabi=5 .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure post-install: ${INSTALL_DATA} ${WRKSRC}/dists/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/mail/opendkim/Makefile.options b/mail/opendkim/Makefile.options index 745fd9c9f7bb..2fae836d5bd8 100644 --- a/mail/opendkim/Makefile.options +++ b/mail/opendkim/Makefile.options @@ -1,98 +1,96 @@ -# Created by: Hirohisa Yamaguchi - # This file is used to tune build time options. OPTIONS_GROUP+= DEVELOPER DEVELOPER_DESC= Options useful for OpenDKIM development OPTIONS_GROUP_DEVELOPER= ALLSYMBOLS CODECOVERAGE DEBUG ALLSYMBOLS_DESC= Export all internal symbols for better test coverage ALLSYMBOLS_CONFIGURE_ENABLE= allsymbols CODECOVERAGE_DESC= Enable internal code-coverage/profiling CODECOVERAGE_CONFIGURE_ENABLE= codecoverage DEBUG_DESC= Build with debug symbols DEBUG_CONFIGURE_ENABLE= debug ## Please refer FEATURES file distributed with the source for details. FFR_DESC= Use features marked as For-Future-Releases OPTIONS_GROUP+= FFR ## _FFR_DNSSEC is referenced in the code, but does not appear to do ## anything much. OPTIONS_GROUP_FFR= ADSP_LISTS ATPS DB_HANDLE_POOLS \ DEFAULT_SENDER DIFFHEADERS IDENTITY_HEADER \ LDAP_CACHING POSTGRES_RECONNECT_HACK \ RATE_LIMIT RBL REPLACE_RULES REPRRD \ REPUTATION RESIGN SENDER_MACRO \ SOCKETDB STATS STATSEXT VBR ADSP_LISTS_DESC= ADSP filtering for lists (experimental) ADSP_LISTS_CONFIGURE_ENABLE= adsp_lists ATPS_DESC= Authorized Third Party Sign check ATPS_CONFIGURE_ENABLE= atps DB_HANDLE_POOLS_DESC= Database handle pools (experimental) DB_HANDLE_POOLS_CONFIGURE_ENABLE= db_handle_pools DEFAULT_SENDER_DESC= Default sender address DEFAULT_SENDER_CONFIGURE_ENABLE=default_sender DIFFHEADERS_DESC= Compare signed and verified headers (experimental) DIFFHEADERS_CONFIGURE_ENABLE= diffheaders DIFFHEADERS_LIB_DEPENDS= libtre.so:textproc/libtre DIFFHEADERS_CONFIGURE_WITH= tre=${LOCALBASE} DIFFHEADERS_CONFIGURE_OFF= --without-tre IDENTITY_HEADER_DESC= Special header to set identity IDENTITY_HEADER_CONFIGURE_ENABLE= identity_header LDAP_CACHING_DESC= LDAP query piggybacking and caching LDAP_CACHING_CONFIGURE_ENABLE= ldap_caching LDAP_CACHING_USE= OPENLDAP=yes LUA_ONLY_SIGNING= Message signing by Lua only LUA_ONLY_SIGNING_CONFIGURE_ENABLE= lua_only_signing POSTGRES_RECONNECT_HACK_DESC= PostgreSQL connection error detection bug hack POSTGRES_RECONNECT_HACK_CONFIGURE_ENABLE= postgresql_reconnect_hack RATE_LIMIT_DESC= DKIM based rate limiting support RATE_LIMIT_CONFIGURE_ENABLE= rate_limit RBL_DESC= Realtime Blacklist query support RBL_CONFIGURE_ENABLE= rbl REPLACE_RULES_DESC= String substition when signing REPLACE_RULES_CONFIGURE_ENABLE= replace_rules REPRRD_DESC= Support for collaborative reputation that uses rrdtool (experimental) REPRRD_CONFIGURE_ENABLE= reprrd REPRRD_LIB_DEPENDS= librrd.so:databases/rrdtool REPUTATION_DESC= Reputation check (experimental) REPUTATION_CONFIGURE_ENABLE= reputation RESIGN_DESC= One-step resigning RESIGN_CONFIGURE_ENABLE= resign SENDER_MACRO_DESC= Macro to determine sender SENDER_MACRO_CONFIGURE_ENABLE= sender_macro SOCKETDB_DESC= Arbitrary socket data sets SOCKETDB_CONFIGURE_ENABLE= socketdb STATS_DESC= Per-message and per-signature statistics STATS_CONFIGURE_ENABLE= stats STATSEXT_DESC= Localized stats extensions STATSEXT_CONFIGURE_ENABLE= statsext VBR_DESC= Vouch-By-Reference support VBR_CONFIGURE_ENABLE= vbr diff --git a/math/rubygem-enumerable-statistics/Makefile b/math/rubygem-enumerable-statistics/Makefile index 0b56ffcbfb5f..abfcea6b664a 100644 --- a/math/rubygem-enumerable-statistics/Makefile +++ b/math/rubygem-enumerable-statistics/Makefile @@ -1,17 +1,15 @@ -# Created by Matthias Fechner - PORTNAME= enumerable-statistics PORTVERSION= 2.0.7 CATEGORIES= math rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Statistics features for Enumerable LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem USE_RUBY= yes .include diff --git a/net-mgmt/promscale/Makefile b/net-mgmt/promscale/Makefile index 8a3e268c0e9e..d4e11d2c048a 100644 --- a/net-mgmt/promscale/Makefile +++ b/net-mgmt/promscale/Makefile @@ -1,126 +1,124 @@ -# Created by Kevin Bowling - PORTNAME= promscale DISTVERSION= 0.6.2 PORTREVISION= 3 CATEGORIES= net-mgmt MAINTAINER= kbowling@FreeBSD.org COMMENT= Timescale analytical platform for Prometheus metrics LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes GH_ACCOUNT= timescale GH_TUPLE= Microsoft:go-winio:6eac466e5fa3:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \ Microsoft:hcsshim:v0.8.15:microsoft_hcsshim/vendor/github.com/Microsoft/hcsshim \ NYTimes:gziphandler:v1.1.1:nytimes_gziphandler/vendor/github.com/NYTimes/gziphandler \ alecthomas:units:ff826a37aa15:alecthomas_units/vendor/github.com/alecthomas/units \ aws:aws-sdk-go:v1.38.35:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ blang:semver:v4.0.0:blang_semver_v4/vendor/github.com/blang/semver \ cenkalti:backoff:v2.2.1:cenkalti_backoff/vendor/github.com/cenkalti/backoff \ census-instrumentation:opencensus-go:v0.23.0:census_instrumentation_opencensus_go/vendor/go.opencensus.io \ cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ cilium:ebpf:v0.2.0:cilium_ebpf/vendor/github.com/cilium/ebpf \ containerd:cgroups:8a68de567b68:containerd_cgroups/vendor/github.com/containerd/cgroups \ containerd:containerd:v1.5.0-beta.1:containerd_containerd/vendor/github.com/containerd/containerd \ coreos:go-systemd:v22.1.0:coreos_go_systemd_v22/vendor/github.com/coreos/go-systemd/v22 \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ docker:distribution:v2.7.1:docker_distribution/vendor/github.com/docker/distribution \ docker:go-connections:v0.4.0:docker_go_connections/vendor/github.com/docker/go-connections \ docker:go-units:v0.4.0:docker_go_units/vendor/github.com/docker/go-units \ edsrzf:mmap-go:v1.0.0:edsrzf_mmap_go/vendor/github.com/edsrzf/mmap-go \ felixge:fgprof:v0.9.1:felixge_fgprof/vendor/github.com/felixge/fgprof \ go-kit:kit:v0.10.0:go_kit_kit/vendor/github.com/go-kit/kit \ go-logfmt:logfmt:v0.5.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \ go-yaml:yaml:496545a6307b:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ godbus:dbus:v5.0.3:godbus_dbus_v5/vendor/github.com/godbus/dbus/v5 \ gogo:protobuf:v1.3.2:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:0c34fe9e7dc2:golang_crypto/vendor/golang.org/x/crypto \ golang:groupcache:8c9f03a8e57e:golang_groupcache/vendor/github.com/golang/groupcache \ golang:lint:83fdc39ff7b5:golang_lint/vendor/golang.org/x/lint \ golang:net:0714010a04ed:golang_net/vendor/golang.org/x/net \ golang:oauth2:81ed05c6b58c:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:snappy:v0.0.3:golang_snappy/vendor/github.com/golang/snappy \ golang:sync:036812b2e83c:golang_sync/vendor/golang.org/x/sync \ golang:sys:0981d6026fa6:golang_sys/vendor/golang.org/x/sys \ golang:term:6a3ed077a48d:golang_term/vendor/golang.org/x/term \ golang:text:v0.3.6:golang_text/vendor/golang.org/x/text \ golang:time:f8bda1e9f3ba:golang_time/vendor/golang.org/x/time \ golang:tools:v0.1.0:golang_tools/vendor/golang.org/x/tools \ golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \ google:go-genproto:86c259c2b4ab:google_go_genproto/vendor/google.golang.org/genproto \ google:pprof:3a04a4d88a10:google_pprof/vendor/github.com/google/pprof \ google:uuid:v1.2.0:google_uuid/vendor/github.com/google/uuid \ grpc:grpc-go:v1.37.0:grpc_grpc_go/vendor/google.golang.org/grpc \ hashicorp:go-hclog:v0.12.2:hashicorp_go_hclog/vendor/github.com/hashicorp/go-hclog \ hashicorp:go-immutable-radix:v1.2.0:hashicorp_go_immutable_radix/vendor/github.com/hashicorp/go-immutable-radix \ hashicorp:golang-lru:v0.5.4:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \ inhies:go-bytesize:d0aed0d254f8:inhies_go_bytesize/vendor/github.com/inhies/go-bytesize \ jackc:chunkreader:v2.0.1:jackc_chunkreader_v2/vendor/github.com/jackc/chunkreader/v2 \ jackc:pgconn:v1.8.1:jackc_pgconn/vendor/github.com/jackc/pgconn \ jackc:pgerrcode:afa3381909a6:jackc_pgerrcode/vendor/github.com/jackc/pgerrcode \ jackc:pgio:v1.0.0:jackc_pgio/vendor/github.com/jackc/pgio \ jackc:pgpassfile:v1.0.0:jackc_pgpassfile/vendor/github.com/jackc/pgpassfile \ jackc:pgproto3:v2.0.6:jackc_pgproto3_v2/vendor/github.com/jackc/pgproto3/v2 \ jackc:pgservicefile:2b9c44734f2b:jackc_pgservicefile/vendor/github.com/jackc/pgservicefile \ jackc:pgtype:v1.4.2:jackc_pgtype/vendor/github.com/jackc/pgtype \ jackc:pgx:v4.8.0:jackc_pgx_v4/vendor/github.com/jackc/pgx/v4 \ jackc:puddle:v1.1.1:jackc_puddle/vendor/github.com/jackc/puddle \ jmespath:go-jmespath:v0.4.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \ jpillora:backoff:v1.0.0:jpillora_backoff/vendor/github.com/jpillora/backoff \ julienschmidt:httprouter:v1.3.0:julienschmidt_httprouter/vendor/github.com/julienschmidt/httprouter \ mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ matttproud:golang_protobuf_extensions:c182affec369:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ mitchellh:colorstring:d06e56a500db:mitchellh_colorstring/vendor/github.com/mitchellh/colorstring \ moby:moby:v20.10.6:moby_moby/vendor/github.com/docker/docker \ moby:sys:mount/v0.2.0:moby_sys_mount/vendor/github.com/moby/sys \ moby:sys:mountinfo/v0.4.0:moby_sys_mountinfo \ mwitkow:go-conntrack:2f068394615f:mwitkow_go_conntrack/vendor/github.com/mwitkow/go-conntrack \ oklog:ulid:v1.3.1:oklog_ulid/vendor/github.com/oklog/ulid \ opencontainers:go-digest:v1.0.0:opencontainers_go_digest/vendor/github.com/opencontainers/go-digest \ opencontainers:image-spec:v1.0.1:opencontainers_image_spec/vendor/github.com/opencontainers/image-spec \ opencontainers:runc:v1.0.0-rc93:opencontainers_runc/vendor/github.com/opencontainers/runc \ opencontainers:runtime-spec:e6143ca7d51d:opencontainers_runtime_spec/vendor/github.com/opencontainers/runtime-spec \ opentracing-contrib:go-stdlib:v1.0.0:opentracing_contrib_go_stdlib/vendor/github.com/opentracing-contrib/go-stdlib \ opentracing:opentracing-go:v1.2.0:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \ pbnjay:memory:b12e5d931931:pbnjay_memory/vendor/github.com/pbnjay/memory \ peterbourgon:ff:v3.0.0:peterbourgon_ff_v3/vendor/github.com/peterbourgon/ff/v3 \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ prometheus:client_golang:v1.10.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.23.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.6.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ prometheus:prometheus:7bc11dcb0664:prometheus_prometheus/vendor/github.com/prometheus/prometheus \ protocolbuffers:protobuf-go:v1.26.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ schollz:progressbar:v3.7.2:schollz_progressbar_v3/vendor/github.com/schollz/progressbar/v3 \ sergi:go-diff:v1.0.0:sergi_go_diff/vendor/github.com/sergi/go-diff \ shurcooL:vfsgen:0d455de96546:shurcool_vfsgen/vendor/github.com/shurcooL/vfsgen \ sirupsen:logrus:v1.7.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \ testcontainers:testcontainers-go:2bbeb1e04514:testcontainers_testcontainers_go/vendor/github.com/testcontainers/testcontainers-go \ thanos-io:thanos:v0.20.1:thanos_io_thanos/vendor/github.com/thanos-io/thanos \ uber-go:atomic:v1.7.0:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:goleak:v1.1.10:uber_go_goleak/vendor/go.uber.org/goleak \ uber:jaeger-client-go:v2.28.0:uber_jaeger_client_go/vendor/github.com/uber/jaeger-client-go \ uber:jaeger-lib:v2.4.1:uber_jaeger_lib/vendor/github.com/uber/jaeger-lib GO_TARGET= ./cmd/prom-migrator ./cmd/promscale PLIST_FILES= bin/prom-migrator \ bin/promscale post-extract: @${RM} -r ${WRKSRC}/vendor/github.com/moby/sys/mountinfo @${RLN} ${WRKSRC_moby_sys_mountinfo}/mountinfo ${WRKSRC}/vendor/github.com/moby/sys/mountinfo GO_TARGET= ./cmd/promscale ./cmd/prom-migrator .include diff --git a/net/corosync2/Makefile.common b/net/corosync2/Makefile.common index 7f074a5e8937..a8880f6509bd 100644 --- a/net/corosync2/Makefile.common +++ b/net/corosync2/Makefile.common @@ -1,40 +1,38 @@ -# Created by: David Shane Holden - PORTNAME= corosync CATEGORIES= net MASTER_SITES= http://build.clusterlabs.org/corosync/releases/ MAINTAINER= egypcio@FreeBSD.org COMMENT= Corosync Cluster Engine LICENSE= BSD3CLAUSE LIB_DEPENDS= libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libqb.so:devel/libqb TEST_DEPENDS= augparse:textproc/augeas USES= cpe gmake groff libtool pathfix pkgconfig USE_BINUTILS= yes USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} ${PORTNAME}-notifyd GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-secure-build LDFLAGS+= -B${LOCALBASE}/bin INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= DBUS DOCS SNMP OPTIONS_SUB= yes DBUS_LIB_DEPENDS+= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus SNMP_LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_ENABLE= snmp post-install: ${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync ${RM} ${STAGEDIR}${PREFIX}/etc/init.d/corosync-notifyd ${RMDIR} ${STAGEDIR}${PREFIX}/etc/init.d diff --git a/net/courier-sox/Makefile b/net/courier-sox/Makefile index e4d0c409fa3b..f5e60bed41de 100644 --- a/net/courier-sox/Makefile +++ b/net/courier-sox/Makefile @@ -1,35 +1,33 @@ -# Created by Radim Kolar - PORTNAME= courier-sox DISTVERSION= 0.16 CATEGORIES= net MASTER_SITES= SF/courier/sox/${DISTVERSION} MAINTAINER= hsn@sendmail.cz COMMENT= Courier Socks 5 Proxy client library and wrapper LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= courier-authlib-base>0.56:security/courier-authlib-base \ gdbm>0:databases/gdbm \ libltdl>0:devel/libltdl RUN_DEPENDS= courier-authlib-base>0.56:security/courier-authlib-base \ gdbm>0:databases/gdbm \ libltdl>0:devel/libltdl \ p5-GDBM>0:databases/p5-GDBM \ p5-Net-CIDR>0:net-mgmt/p5-Net-CIDR USES= autoreconf libtool localbase perl5 tar:bz2 USE_LDCONFIG= yes USE_RC_SUBR= sockd GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check post-stage: @(cd ${STAGEDIR}/${PREFIX}/etc/socksrc/ && \ ${MV} system system.sample) .include diff --git a/net/pacemaker1/Makefile.common b/net/pacemaker1/Makefile.common index c31359ecce09..21dcbb60fbfb 100644 --- a/net/pacemaker1/Makefile.common +++ b/net/pacemaker1/Makefile.common @@ -1,93 +1,91 @@ -# Created by: David Shane Holden - PORTNAME= pacemaker DISTVERSIONPREFIX= Pacemaker- CATEGORIES= net MAINTAINER= egypcio@FreeBSD.org COMMENT= Scalable High-Availability cluster resource manager LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash \ getopt>=0:misc/getopt LIB_DEPENDS= libgnutls.so:security/gnutls \ libltdl.so:devel/libltdl \ libqb.so:devel/libqb \ libuuid.so:misc/e2fsprogs-libuuid \ libxml2.so:textproc/libxml2 \ libxslt.so:textproc/libxslt RUN_DEPENDS= bash:shells/bash \ getopt>=0:misc/getopt \ ocf-tester:net-mgmt/resource-agents CONFLICTS= heartbeat USERS= hacluster GROUPS= haclient USE_GITHUB= yes GH_ACCOUNT= ClusterLabs GH_PROJECT= pacemaker USES= autoreconf:2.69 corosync cpe gmake gnome libtool \ ncurses pathfix pkgconfig python:3.6+ shebangfix CPE_VENDOR= clusterlabs USE_BINUTILS= yes USE_GNOME= glib20 USE_LDCONFIG= yes USE_PYTHON= py3kplist USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-fatal-warnings \ --disable-hardening \ --with-corosync \ --without-heartbeat CONFIGURE_ENV= BASH_PATH=${LOCALBASE}/bin/bash LDFLAGS+= -B${LOCALBASE}/bin INSTALL_TARGET= install-strip TEST_TARGET= check PATHFIX_MAKEFILEIN= Makefile.am SHEBANG_LANG= sh sh_OLD_CMD= ${SH} sh_CMD= ${LOCALBASE}/bin/bash SHEBANG_FILES= extra/resources/* OPTIONS_DEFINE= DBUS DOCS MANPAGES SNMP OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_VARS_OFF= REPLACE_ARGS_DBUS="-e 's/HAVE_dbus=1/HAVE_dbus=0/'" DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ help2man:misc/help2man \ xsltproc:textproc/libxslt SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= snmp SNMP_USES= ssl REPLACE_CMD_ARGS= -e 's,/usr/lib/ocf,${PREFIX}/lib/ocf,' \ ${REPLACE_ARGS_DBUS} # python default version must be set to 2.7 to generate a # correct pkg-plist maintainer-plist: stage @${MAKE} makeplist \ | ${SED} -e '/^\/you/d' \ -e '/^etc\/rc.d\/pacemaker/d' \ -e 's,^man,%%MANPAGES%%man,g' \ -e 's,%%PYTHON_VER%%,2.7,g' \ -e 's,^@dir \/var\/lib\/pacemaker\/\(.*\),@dir(\,haclient\,770) \/var\/lib\/pacemaker\/\1,g' \ -e 's,^@dir \/var\/log\/pacemaker\(.*\),@dir(\,haclient\,770) \/var\/log\/pacemaker\1,g' \ > pkg-plist post-patch-common: @${REINPLACE_CMD} ${REPLACE_CMD_ARGS} ${WRKSRC}/configure.ac diff --git a/net/rubygem-omniauth-azure-activedirectory-v2/Makefile b/net/rubygem-omniauth-azure-activedirectory-v2/Makefile index a505eaced8c9..7944db071672 100644 --- a/net/rubygem-omniauth-azure-activedirectory-v2/Makefile +++ b/net/rubygem-omniauth-azure-activedirectory-v2/Makefile @@ -1,20 +1,18 @@ -# Created by Matthias Fechner - PORTNAME= omniauth-azure-activedirectory-v2 PORTVERSION= 1.0.0 CATEGORIES= net rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= OAuth 2 authentication with the Azure ActiveDirectory V2 API LICENSE= MIT RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7<2:net/rubygem-omniauth-oauth2 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/courier-authlib/Makefile.dep b/security/courier-authlib/Makefile.dep index a8ecffde3bc8..a2abd88be200 100644 --- a/security/courier-authlib/Makefile.dep +++ b/security/courier-authlib/Makefile.dep @@ -1,33 +1,31 @@ -# Created by: Oliver Lehmann - # To depend on courier-authlib you might consider using this file by specifying # #.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep) #.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep" #.endif # # in your Makefile *before* any #.include .if ${PORT_OPTIONS:MAUTH_LDAP} BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthldap.so:net/courier-authlib-ldap .endif .if ${PORT_OPTIONS:MAUTH_MYSQL} BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthmysql.so:databases/courier-authlib-mysql .endif .if ${PORT_OPTIONS:MAUTH_PGSQL} BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthpgsql.so:databases/courier-authlib-pgsql .endif .if ${PORT_OPTIONS:MAUTH_SQLITE} BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthsqlite.so:databases/courier-authlib-sqlite .endif .if ${PORT_OPTIONS:MAUTH_USERDB} .if ${PORT_OPTIONS:MGDBM} BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthuserdb.so:databases/courier-authlib-usergdbm .else BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthuserdb.so:databases/courier-authlib-userdb .endif .endif .if ${PORT_OPTIONS:MAUTH_VCHKPW} BUILD_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthvchkpw.so:mail/courier-authlib-vchkpw .endif diff --git a/security/courier-authlib/Makefile.opt b/security/courier-authlib/Makefile.opt index b5c8368cb0b9..df608744a8eb 100644 --- a/security/courier-authlib/Makefile.opt +++ b/security/courier-authlib/Makefile.opt @@ -1,19 +1,17 @@ -# Created by: Oliver Lehmann - # To depend on courier-authlib you might consider using this file by specifying # #.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt) #.include "${.CURDIR}/../../security/courier-authlib/Makefile.opt" #.endif # # in your Makefile *after* any #.include OPTIONS_DEFINE+= AUTH_LDAP AUTH_MYSQL AUTH_PGSQL AUTH_SQLITE \ AUTH_USERDB AUTH_VCHKPW DOCS AUTH_LDAP_DESC= LDAP support AUTH_MYSQL_DESC= MySQL support AUTH_PGSQL_DESC= PostgreSQL support AUTH_SQLITE_DESC= SQLite support AUTH_USERDB_DESC= Userdb support AUTH_VCHKPW_DESC= popmail/vchkpw support diff --git a/sysutils/bareos-server/Makefile.common b/sysutils/bareos-server/Makefile.common index 7bad4fc0eb8d..9386c35cd09e 100644 --- a/sysutils/bareos-server/Makefile.common +++ b/sysutils/bareos-server/Makefile.common @@ -1,36 +1,35 @@ -# Created by: Alonso Cardenas post-patch: @${REINPLACE_CMD} '76,79d' ${WRKSRC}/CMakeLists.txt post-build: .if ${PKGNAMEPREFIX} == "nagios-check_" ${MAKE_CMD} -C ${WRKSRC}/examples/nagios/check_bareos .endif pre-install: .if ${PKGNAMESUFFIX} == "-traymonitor" . for d in client director monitor storage ${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d} ${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \; . endfor .endif do-install: .if ${PKGNAMEPREFIX} == "nagios-check_" @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bareos/check_bareos \ ${STAGEDIR}${PREFIX}/libexec/nagios .endif .if ${PKGNAMESUFFIX} == "-client-static" ${INSTALL_PROGRAM} ${WRKSRC}/src/filed/static-bareos-fd ${STAGEDIR}${PREFIX}/sbin/bareos-fd-static ${INSTALL_PROGRAM} ${WRKSRC}/src/console/static-bconsole ${STAGEDIR}${PREFIX}/sbin/bconsole-static .endif .if ${PKGNAMESUFFIX} == "-traymonitor" # Install config files and preserve existing ones .for d in client director monitor storage ${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/ .endfor ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/core/src/images/bareos_1.png ${STAGEDIR}${PREFIX}/share/pixmaps/bareos-tray-monitor.png ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.desktop ${STAGEDIR}${DESKTOPDIR} .endif diff --git a/sysutils/bareos18-server/Makefile.common b/sysutils/bareos18-server/Makefile.common index 7c9e646a9e2a..e6c9a2505cc7 100644 --- a/sysutils/bareos18-server/Makefile.common +++ b/sysutils/bareos18-server/Makefile.common @@ -1,30 +1,28 @@ -# Created by: Alonso Cardenas - post-build: .if ${PKGNAMEPREFIX} == "nagios-check_" ${MAKE_CMD} -C ${WRKSRC}/examples/nagios/check_bareos .endif pre-install: .if ${PKGNAMESUFFIX} == "18-traymonitor" . for d in client director monitor storage ${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d} ${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \; . endfor .endif do-install: .if ${PKGNAMEPREFIX} == "nagios-check_" @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bareos/check_bareos \ ${STAGEDIR}${PREFIX}/libexec/nagios .endif .if ${PKGNAMESUFFIX} == "18-traymonitor" # Install config files and preserve existing ones .for d in client director monitor storage ${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/ .endfor ${INSTALL_PROGRAM} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.xpm ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.desktop ${STAGEDIR}${DESKTOPDIR} .endif diff --git a/sysutils/bareos19-server/Makefile.common b/sysutils/bareos19-server/Makefile.common index ceb28552dccc..374ca631cb69 100644 --- a/sysutils/bareos19-server/Makefile.common +++ b/sysutils/bareos19-server/Makefile.common @@ -1,33 +1,31 @@ -# Created by: Alonso Cardenas - post-patch: @${REINPLACE_CMD} '69,72d' ${WRKSRC}/CMakeLists.txt post-build: .if ${PKGNAMEPREFIX} == "nagios-check_" ${MAKE_CMD} -C ${WRKSRC}/examples/nagios/check_bareos .endif pre-install: .if ${PKGNAMESUFFIX} == "19-traymonitor" . for d in client director monitor storage ${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d} ${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \; . endfor .endif do-install: .if ${PKGNAMEPREFIX} == "nagios-check_" @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bareos/check_bareos \ ${STAGEDIR}${PREFIX}/libexec/nagios .endif .if ${PKGNAMESUFFIX} == "19-traymonitor" # Install config files and preserve existing ones .for d in client director monitor storage ${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/ .endfor ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.xpm ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.desktop ${STAGEDIR}${DESKTOPDIR} .endif diff --git a/sysutils/bareos20-server/Makefile.common b/sysutils/bareos20-server/Makefile.common index 468bc7e31743..8fe999734b1b 100644 --- a/sysutils/bareos20-server/Makefile.common +++ b/sysutils/bareos20-server/Makefile.common @@ -1,36 +1,35 @@ -# Created by: Alonso Cardenas post-patch: @${REINPLACE_CMD} '76,79d' ${WRKSRC}/CMakeLists.txt post-build: .if ${PKGNAMEPREFIX} == "nagios-check_" ${MAKE_CMD} -C ${WRKSRC}/examples/nagios/check_bareos .endif pre-install: .if ${PKGNAMESUFFIX} == "20-traymonitor" . for d in client director monitor storage ${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d} ${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \; . endfor .endif do-install: .if ${PKGNAMEPREFIX} == "nagios-check_" @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bareos/check_bareos \ ${STAGEDIR}${PREFIX}/libexec/nagios .endif .if ${PKGNAMESUFFIX} == "-client-static" ${INSTALL_PROGRAM} ${WRKSRC}/src/filed/static-bareos-fd ${STAGEDIR}${PREFIX}/sbin/bareos-fd-static ${INSTALL_PROGRAM} ${WRKSRC}/src/console/static-bconsole ${STAGEDIR}${PREFIX}/sbin/bconsole-static .endif .if ${PKGNAMESUFFIX} == "20-traymonitor" # Install config files and preserve existing ones .for d in client director monitor storage ${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/ .endfor ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/core/src/images/bareos_1.png ${STAGEDIR}${PREFIX}/share/pixmaps/bareos-tray-monitor.png ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.desktop ${STAGEDIR}${DESKTOPDIR} .endif diff --git a/textproc/jdictionary/Makefile.plugin b/textproc/jdictionary/Makefile.plugin index 603af445b095..954986fde06f 100644 --- a/textproc/jdictionary/Makefile.plugin +++ b/textproc/jdictionary/Makefile.plugin @@ -1,29 +1,27 @@ -# Created by: hq@FreeBSD.org - EXTRACT_SUFX= # MAINTAINER?= jmohacsi@bsd.hu COMMENT?= JDictionary plugin master port RUN_DEPENDS+= jdictionary:textproc/jdictionary # WARNING: USE_JAVA is set to be able to use JAVASHAREDIR. USE_JAVA= yes EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= # EXTRACT_AFTER_ARGS= ${WRKDIR} NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/jdictionary/Plugins PLIST= ${MASTERDIR}/pkg-plist.plugin DISTINFO_FILE= ${.CURDIR}/distinfo DESCR= ${.CURDIR}/pkg-descr PLIST_SUB+= DISTNAME=${DISTNAME} do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${STAGEDIR}${DATADIR}/ .include diff --git a/www/owncast/Makefile b/www/owncast/Makefile index 99558958e98c..6ca977660c5f 100644 --- a/www/owncast/Makefile +++ b/www/owncast/Makefile @@ -1,56 +1,54 @@ -# Created by Markus Mann, CTS - FreeBSD Team - PORTNAME= owncast DISTVERSIONPREFIX= v DISTVERSION= 0.0.10 PORTREVISION= 3 CATEGORIES= www DIST_SUBDIR= ${PORTNAME} MAINTAINER= de-freebsd@ctseuro.com COMMENT= Self-hosted streaming service written in Go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ffmpeg:multimedia/ffmpeg USES= cpe go:modules USE_RC_SUBR= owncast CPE_VENDOR= owncast_project GO_MODULE= github.com/owncast/owncast _DAEMONARGS= -S -l \$${owncast_facility} -s \$${owncast_priority} -T \$${name} _OWNCAST_USER= owncast _OWNCAST_GROUP= owncast SUB_LIST+= DAEMONARGS="${_DAEMONARGS}" \ OWNCAST_USER=${_OWNCAST_USER} USERS= ${_OWNCAST_USER} GROUPS= ${_OWNCAST_GROUP} PLIST_SUB= OWNCAST_USER=${_OWNCAST_USER} \ OWNCAST_GROUP=${_OWNCAST_GROUP} post-patch: @${ECHO_CMD} ${DISTVERSION} >${WRKSRC}/VERSION do-install: # Go binary is statically linked and cannot be stripped, so use # INSTALL_SCRIPT. ${INSTALL_SCRIPT} ${WRKDIR}/bin/owncast ${STAGEDIR}${PREFIX}/sbin ${MKDIR} -m 750 ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC} && ${COPYTREE_SHARE} "static webroot" ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/VERSION ${STAGEDIR}${WWWDIR} ${MKDIR} -m 750 ${STAGEDIR}${WWWDIR}/backup ${MKDIR} -m 750 ${STAGEDIR}${WWWDIR}/data ${MKDIR} -m 750 ${STAGEDIR}${WWWDIR}/hls ${MKDIR} -m 750 ${STAGEDIR}${WWWDIR}/webroot/hls .include diff --git a/www/rss-bridge/Makefile b/www/rss-bridge/Makefile index 7f6317d33718..6e95df305e85 100644 --- a/www/rss-bridge/Makefile +++ b/www/rss-bridge/Makefile @@ -1,41 +1,39 @@ -# Created by: Oleg Sidorkin - PORTNAME= rss-bridge DISTVERSION= 2022-06-14 PORTEPOCH= 1 CATEGORIES= www MAINTAINER= osidorkin@gmail.com COMMENT= RSS feed generator for websites missing it LICENSE= PD USES= php:web USE_GITHUB= yes GH_ACCOUNT= RSS-Bridge USE_PHP= curl json mbstring openssl simplexml zip NO_ARCH= yes NO_BUILD= yes PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} OPTIONS_DEFINE= SQLITE OPTIONS_DEFAULT=SQLITE OPTIONS_SUB= yes SQLITE_DESC= Enable sqlite-based cache support (requires sqlite) SQLITE_USE= PHP=sqlite3 do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} "." ${STAGEDIR}${WWWDIR} "-not ( \ -name LICENSE -or -name .gitkeep -or -name docker-bake.hcl -or \ -name docker-entrypoint.sh \ -or -path ./config -or -path ./config/nginx.conf \ -or -regex ./contrib.* -or -regex ./doc.* \ -or -regex ./static/screenshot_.* ) \ -or -name config.default.ini.php" ) .include diff --git a/x11-themes/kde-icons-noia/Makefile.icons b/x11-themes/kde-icons-noia/Makefile.icons index d99eded230c0..0d958a9f1744 100644 --- a/x11-themes/kde-icons-noia/Makefile.icons +++ b/x11-themes/kde-icons-noia/Makefile.icons @@ -1,104 +1,102 @@ -# Created by: Mario Sergio Fujikawa Ferreira - CATEGORIES?= x11-themes kde PKGNAMEPREFIX= kde-icons- DIST_SUBDIR= KDE MAINTAINER?= ports@FreeBSD.org COMMENT?= KDE iconset theme .ifndef(WITHOUT_RESTRICTIONS) # Converted from RESTRICTED LICENSE_NAME_theme= theme LICENSE_TEXT_theme= may contain iconic, visual, graphical or other\ elements that may not be distributed without the\ consent of either the trademark or the patent holder LICENSE_PERMS_theme= auto-accept .if defined(LICENSE) LICENSE+= theme LICENSE_COMB= multi .else LICENSE= theme LICENSE_NAME= ${LICENSE_NAME_theme} LICENSE_TEXT= ${LICENSE_TEXT_theme} LICENSE_PERMS= ${LICENSE_PERMS_theme} .endif .endif NO_BUILD= yes # default installation directory PORT_SHAREDIR?= ${DISTNAME} INDEX_FILES= index.desktop index.theme # do not create some dirs PLIST_DIR_PATTERN= -v ^\.$$ PLIST_DIR_PATTERN_EXTRA?= ^\./ # do not install some files PLIST_FILE_PATTERN= -i -v "(Thumbs\.db|(\.(bak|txt)|/(copying|readme))\$$)" PLIST_FILE_PATTERN_EXTRA?= . post-patch: # correctly inherits crystal per default .for file in ${INDEX_FILES} @if [ -f ${WRKSRC:Q}/${file:Q} ]; then \ ${REINPLACE_CMD} -E \ -e 's| ||' \ -e 's|^Inherits.*$$|Inherits=crystalsvg|' \ ${WRKSRC:Q}/${file:Q} ; \ fi .endfor # annotate what should be installed annotate-install: # annotate dirs @cd ${WRKSRC} ; ${FIND} . -type d ! -empty \ | ${GREP} -E ${PLIST_DIR_PATTERN} \ | ${GREP} -E ${PLIST_DIR_PATTERN_EXTRA} \ | ${SORT} -r \ > ${WRKDIR}/dirs.list # annotate files @cd ${WRKSRC} ; ${FIND} . -type f ! -empty \ | ${GREP} -E ${PLIST_FILE_PATTERN} \ | ${GREP} -E ${PLIST_FILE_PATTERN_EXTRA} \ | ${SORT} \ > ${WRKDIR}/files.list # prepare scripts for installation based on aforementioned annotations generate-install-scripts: # annotate dirs @${CAT} ${WRKDIR}/dirs.list \ | ${SED} -E \ -e 's|^\.(.+)$$|${MKDIR} -m 755 ${STAGEDIR}${PREFIX:Q}/share/icons/${PORT_SHAREDIR:S/"//g:Q}/\"\1\"|' \ > ${WRKDIR}/dirs.sh # annotate files @${CAT} ${WRKDIR}/files.list \ | ${SED} -E \ -e 's|^\./(.+)$$|${INSTALL_DATA} ${WRKSRC:Q}/\"\1\" ${STAGEDIR}${PREFIX:Q}/share/icons/${PORT_SHAREDIR:S/"//g:Q}/\"\1\"|' \ > ${WRKDIR}/files.sh # generate on the fly packaging lists based on aforementioned annotations generate-tmpplist: # annotate files @${CAT} ${WRKDIR}/files.list \ | ${SED} -E \ -e 's|^\.|share/icons/${PORT_SHAREDIR:S/"//g}|' \ > ${TMPPLIST} # use generated installation scripts install-run-scripts: .for script in dirs files @${SH} ${WRKDIR}/${script}.sh .endfor do-install: annotate-install generate-install-scripts generate-tmpplist install-run-scripts .include .if ${ARCH} == "powerpc" && ${PORTNAME} == "crystal-project" BROKEN= Does not install on powerpc: syntax error in files.sh .endif .include