diff --git a/devel/kore/Makefile b/devel/kore/Makefile index 40fd005128fe..fe401ff58ae4 100644 --- a/devel/kore/Makefile +++ b/devel/kore/Makefile @@ -1,65 +1,65 @@ PORTNAME= kore DISTVERSION= 4.2.3 -PORTREVISON= 1 +PORTREVISION= 1 CATEGORIES= devel www MASTER_SITES= https://kore.io/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= Web application framework for writing web APIs in C WWW= http://www.kore.io/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= openssl openssl31 BROKEN_SSL_REASON= Requires OpenSSL 3.0.0 deprecated RSA_* routines USES= compiler:c11 gmake ssl MAKE_ARGS= OPENSSL_PATH=${OPENSSLBASE} CFLAGS+= -std=c11 PORTEXAMPLES= * OPTIONS_DEFINE= ACME CURL DEBUG EXAMPLES HTTP JSONRPC PGSQL PYTHON \ TASKS TLS OPTIONS_DEFAULT= ACME CURL HTTP JSONRPC PGSQL PYTHON TASKS TLS OPTIONS_SUB= yes ACME_DESC= Build with ACME support HTTP_DESC= Build with HTTP support JSONRPC_DESC= Build with JSON-RPC support TASKS_DESC= Build with tasks support ACME_MAKE_ARGS= ACME=1 CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_MAKE_ARGS= CURL=1 DEBUG_MAKE_ARGS= DEBUG=1 HTTP_MAKE_ARGS_OFF= NOHTTP=1 JSONRPC_IMPLIES= HTTP JSONRPC_LIB_DEPENDS= libyajl.so:devel/yajl JSONRPC_MAKE_ARGS= JSONRPC=1 PGSQL_IMPLIES= HTTP PGSQL_USES= pgsql PGSQL_MAKE_ARGS= PGSQL=1 PYTHON_USES= gettext-runtime python PYTHON_MAKE_ARGS= PYTHON=1 PYTHON_BINARY_ALIAS= python3-config=${PYTHON_CMD}-config TASKS_MAKE_ARGS= TASKS=1 TLS_MAKE_ARGS_OFF= NOTLS=1 pre-configure: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}/|g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|%%OPENSSLINC%%|${OPENSSLINC}|g' \ ${WRKSRC}/src/cli.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kodev \ ${STAGEDIR}${PREFIX}/bin/kore post-install-EXAMPLES-on: @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/conf && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/lang/fpc-devel-source/Makefile b/lang/fpc-devel-source/Makefile index 584ef96f0470..9ac370e6122f 100644 --- a/lang/fpc-devel-source/Makefile +++ b/lang/fpc-devel-source/Makefile @@ -1,115 +1,115 @@ PORTNAME= fpc-devel PORTVERSION= 3.3.1.20240103 -PORTREVISON= 1 +PORTREVISION= 1 CATEGORIES= lang PKGNAMESUFFIX= -source DIST_SUBDIR= freepascal MAINTAINER= acm@FreeBSD.org COMMENT= Free Pascal compiler with Turbo and Delphi compatibility (source) WWW= https://www.freepascal.org/ ONLY_FOR_ARCHS= amd64 i386 NO_BUILD= yes USE_GITLAB= yes GL_SITE= https://gitlab.com/freepascal.org GL_ACCOUNT= fpc GL_PROJECT= source GL_TAGNAME= f86a9bd5c026c7a10a165a8225bcf83e17c47b25 PLIST= ${WRKDIR}/pkg-plist PATCHDIR= ${PORTSDIR}/lang/fpc-devel/files DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}-${FPCBASEVER} FPCBASEVER= 3.3.1 .include .if ${ARCH} == "i386" FPC_ARCH= i386 .elif ${ARCH} == "amd64" FPC_ARCH= x86_64 .endif post-extract: ${RM} -R ${WRKSRC}/.git* ${RM} ${WRKSRC}/packages/fcl-web/examples/httpserver/simplehttpserver post-patch: .if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -i "" -e 's|900044|${OSVERSION}|g' \ -e 's|1201000|${OSVERSION}|g' \ -e 's|1200000|${OSVERSION}|g' \ ${WRKSRC}/rtl/freebsd/${FPC_ARCH}/*.as \ ${WRKSRC}/rtl/freebsd/${FPC_ARCH}/*.inc .else @${REINPLACE_CMD} -i "" -e 's|400000|${DFLYVERSION}|g' \ ${WRKSRC}/rtl/dragonfly/${FPC_ARCH}/*.as .endif .if empty(ICONV_LIB) @${REINPLACE_CMD} -i "" -e "s|s<>'c'|(s<>'c') and (s<>'iconv')|" \ -e "s|%%FPC_LDPATH%%|${FPC_LDPATH}|g" \ ${WRKSRC}/compiler/systems/t_bsd.pas @${REINPLACE_CMD} -e 's|defined(bsd) and not ||' \ ${WRKSRC}/rtl/unix/cwstring.pp .endif @${REINPLACE_CMD} -i "" -e '/samplecfg/ {s/INSTALLEXE/INSTALLSCR/;}' \ ${WRKSRC}/compiler/Makefile @${REINPLACE_CMD} -i "" -e 's|/usr/local|${PREFIX}|g' \ ${WRKSRC}/packages/fpmkunit/src/fpmkunit.pp # enable or disable units @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/a52/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/dts/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|freebsd,||g' \ ${WRKSRC}/packages/fpgtk/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|iphonesim|freebsd,iphonesim|g' \ ${WRKSRC}/packages/gnome1/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|iphonesim|freebsd,iphonesim|g' \ ${WRKSRC}/packages/gtk1/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|iphonesim|freebsd,iphonesim|g' \ ${WRKSRC}/packages/imlib/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/ldap/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/libnettle/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/libsee/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/lua/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/mad/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/modplug/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|Linux|freebsd,linux|g' \ ${WRKSRC}/packages/newt/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/oggvorbis/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/openal/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/opencl/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/proj4/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|os2|freebsd,os2|g' \ ${WRKSRC}/packages/rexx/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/wasmedge/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/wasmtime/fpmake.pp @${REINPLACE_CMD} -i "" -e 's|linux|freebsd,linux|g' \ ${WRKSRC}/packages/zorba/fpmake.pp pre-install: @${RM} -f ${PLIST} @cd ${WRKSRC} && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ ${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST} do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR}) .include