Skip to content

Commit

Permalink
*/*: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: FreeBSD
  • Loading branch information
fichtner committed Jul 21, 2023
1 parent 4bc7099 commit f0dd6f9
Show file tree
Hide file tree
Showing 498 changed files with 4,448 additions and 2,281 deletions.
2 changes: 2 additions & 0 deletions archivers/gtar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ USES= charsetfix cpe iconv:${STATIC_ARGS} localbase tar:xz
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
# unbuckle safety belt: FreeBSD/i386 still has 32-bit time_t
CONFIGURE_ARGS+=--disable-year2038
CONFIGURE_ENV= DEFAULT_RMT_COMMAND=/etc/rmt
# supply result to skip a test that will abort configure if run as root
CONFIGURE_ENV+= gl_cv_func_mknod_works=yes
Expand Down
2 changes: 1 addition & 1 deletion archivers/libunrar/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= libunrar
PORTVERSION= 6.2.8
PORTVERSION= 6.2.9
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
Expand Down
6 changes: 3 additions & 3 deletions archivers/libunrar/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1686905718
SHA256 (unrarsrc-6.2.8.tar.gz) = 1777e3d3b073815ff68a411ddb1ab76d0a4e1f58ecc7080035b27b52967ff911
SIZE (unrarsrc-6.2.8.tar.gz) = 246249
TIMESTAMP = 1689913695
SHA256 (unrarsrc-6.2.9.tar.gz) = 477aecdad08062b20eb63e14f60dc70293dcb92ec7b1d80ab3ea8acec33c2cb4
SIZE (unrarsrc-6.2.9.tar.gz) = 246388
2 changes: 1 addition & 1 deletion archivers/p5-Gzip-Faster/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:BKB
PKGNAMEPREFIX= p5-

MAINTAINER= feld@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and fast gzip and gunzip
WWW= https://metacpan.org/release/Gzip-Faster

Expand Down
1 change: 1 addition & 0 deletions audio/caps-lv2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lv2>0:audio/lv2

USES= gmake localbase
USE_CXXSTD= c++14
USE_GITHUB= yes
GH_ACCOUNT= moddevices
GH_TAGNAME= 5d52a0c
Expand Down
8 changes: 5 additions & 3 deletions audio/fcplay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libsidplay.so:audio/libsidplay

USES= gmake tar:tgz
USES= gmake localbase tar:tgz
USE_CXXSTD= c++14

GNU_CONFIGURE= yes
CXXFLAGS+= -I${LOCALBASE}/include
PORTDOCS= ABOUT POINTER

PLIST_FILES= bin/fcplay
PORTDOCS= ABOUT POINTER

OPTIONS_DEFINE= DOCS

Expand Down
2 changes: 1 addition & 1 deletion audio/mumble/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PORTVERSION= 1.3.3
PORTREVISION= 10
CATEGORIES= audio

MAINTAINER= feld@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= Voice chat software primarily intended for use while gaming
WWW= http://mumble.sourceforge.net/

Expand Down
2 changes: 1 addition & 1 deletion audio/murmur-cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PORTVERSION= 0.0.0.20200528
PORTREVISION= 12
CATEGORIES= audio

MAINTAINER= feld@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= GRPC client for Murmur server
WWW= https://github.com/layeh/murmur-cli

Expand Down
2 changes: 1 addition & 1 deletion audio/murmur/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PORTVERSION= 1.3.3
PORTREVISION= 6
CATEGORIES= audio net

MAINTAINER= feld@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= Server component of Mumble
WWW= http://mumble.sourceforge.net/

Expand Down
9 changes: 4 additions & 5 deletions biology/canu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@ LIB_DEPENDS= libboost_regex.so:devel/boost-libs
RUN_DEPENDS= gnuplot:math/gnuplot

USES= compiler:c++11-lang gmake localbase perl5 tar:xz
USE_JAVA= yes

USE_CXXSTD= c++14
USE_JAVA= 8+
JAVA_RUN= yes
JAVA_VERSION= 8+

WRKSRC_SUBDIR= src
# Upstream Makefile compiles directly into ${DESTDIR}${PREFIX} rather than
# using a separate install target.
MAKE_ENV= DESTDIR=${WRKSRC} CANU_BUILD_ENV=ports
CXXFLAGS+= -std=c++14

WRKSRC_SUBDIR= src

.include <bsd.port.pre.mk>

Expand Down
8 changes: 6 additions & 2 deletions biology/ncbi-toolkit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,16 @@ SUB_FILES= pkg-message

OPTIONS_DEFINE= DOCS

.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

post-patch:
@${REINPLACE_CMD} -e \
's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/make/makedis.csh
Expand Down Expand Up @@ -83,4 +87,4 @@ do-install-DOCS-on:
@(cd ${WRKSRC}/doc && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not ( -name man -o -path ./man\/* )')

.include <bsd.port.post.mk>
.include <bsd.port.mk>
33 changes: 33 additions & 0 deletions cad/gds3d/files/patch-manual-gdsparse.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
- workaround for error: reference to 'byte' is ambiguous, see https://github.com/trilomix/GDS3D/issues/23

--- ../libgdsto3d/gdsparse.cpp.orig 2023-07-20 10:59:11.684448000 -0700
+++ ../libgdsto3d/gdsparse.cpp 2023-07-20 10:59:35.325794000 -0700
@@ -127,7 +127,7 @@

bool GDSParse::ParseFile(char *topcell)
{
- byte recordtype, datatype;
+ ::byte recordtype, datatype;
char *tempstr;
//struct ProcessLayer *layer = NULL;

@@ -1086,7 +1086,7 @@

short GDSParse::GetBitArray()
{
- byte byte1;
+ ::byte byte1;

fread(&byte1, 1, 1, _iptr);
fread(&byte1, 1, 1, _iptr);
@@ -1097,8 +1097,8 @@

double GDSParse::GetEightByteReal()
{
- byte value;
- byte b8, b2, b3, b4, b5, b6, b7;
+ ::byte value;
+ ::byte b8, b2, b3, b4, b5, b6, b7;
double sign=1.0;
double exponent;
double mant;
5 changes: 2 additions & 3 deletions cad/opencascade/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= opencascade
DISTVERSION= 7.7.0
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry

Expand Down Expand Up @@ -166,8 +166,7 @@ post-build-DOXYGEN-on:

post-install:
${MV} ${STAGEDIR}${OCCROOT}/bin/DRAWEXE-${DISTVERSION:C/-beta//} ${STAGEDIR}${PREFIX}/bin/DRAWEXE
(cd ${STAGEDIR}${PREFIX}/bin && \
${LN} -sf DRAWEXE ${STAGEDIR}${OCCROOT}/bin/DRAWEXE)
${RLN} ${STAGEDIR}${PREFIX}/bin/DRAWEXE ${STAGEDIR}${OCCROOT}/bin

post-install-DOXYGEN-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
Expand Down
11 changes: 10 additions & 1 deletion comms/uird/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,29 @@ WWW= http://kbinstuff.googlepages.com/uirduniversalirreceiverdaemon

USES= perl5 gmake tar:tgz

WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= ${PORTNAME}

WRKSRC= ${WRKDIR}/${PORTNAME}

PLIST_FILES= bin/uird
PORTDOCS= Documentation

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

post-patch:
@${REINPLACE_CMD} -e 's|gcc|$${CC}\ $${CFLAGS}|; /strip/d' \
${WRKSRC}/Makefile

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uird ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

Expand Down
2 changes: 1 addition & 1 deletion converters/p5-Bencode/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:ARISTOTLE
PKGNAMEPREFIX= p5-

MAINTAINER= feld@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= BitTorrent bencode serialisation format
WWW= https://metacpan.org/release/Bencode

Expand Down
1 change: 1 addition & 0 deletions databases/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@
SUBDIR += postgis32
SUBDIR += postgis33
SUBDIR += postgresql-cstore_fdw
SUBDIR += postgresql-idn
SUBDIR += postgresql-jdbc
SUBDIR += postgresql-libpgeasy
SUBDIR += postgresql-libpqxx
Expand Down
41 changes: 41 additions & 0 deletions databases/postgresql-idn/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
PORTNAME= idn
PORTVERSION= 0.2
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-

MAINTAINER= [email protected]
COMMENT= PostgreSQL extension for libidn2
WWW= https://github.com/dyninc/postgresql-idn

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT

LIB_DEPENDS= libidn.so:dns/libidn \
libidn2.so:dns/libidn2

USES= gmake pgsql
WANT_PGSQL= server
USE_GITHUB= yes
GH_ACCOUNT= dyninc
GH_PROJECT= postgresql-idn
GH_TAGNAME= d4ffaec

BUILD_WRKSRC= ${WRKSRC}/sources

PLIST_FILES= \
lib/postgresql/idn.so \
share/postgresql/extension/idn.control \
share/postgresql/extension/idn--0.2.sql

post-patch:
@${REINPLACE_CMD} -e 's|CreateTemplateTupleDesc(3, false)|CreateTemplateTupleDesc(3)|g' \
${BUILD_WRKSRC}/idn.c

do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql
${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/extension
${INSTALL_LIB} ${BUILD_WRKSRC}/idn.so ${STAGEDIR}${PREFIX}/lib/postgresql/idn.so
${INSTALL_DATA} ${BUILD_WRKSRC}/idn--0.2.sql ${STAGEDIR}${PREFIX}/share/postgresql/extension
${INSTALL_DATA} ${BUILD_WRKSRC}/idn.control ${STAGEDIR}${PREFIX}/share/postgresql/extension

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions databases/postgresql-idn/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1689853106
SHA256 (dyninc-postgresql-idn-0.2-d4ffaec_GH0.tar.gz) = 77648e741c96ae186dcd4ce835cada228877864e390e1854c5099277337a0b06
SIZE (dyninc-postgresql-idn-0.2-d4ffaec_GH0.tar.gz) = 14784
6 changes: 6 additions & 0 deletions databases/postgresql-idn/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
At a fundamental level, this extension grants access to a number of
functions provided by the libidn and libidn2 libraries. Not all of the
functions provided by these libraries are exposed.

Whenever possible, the code will transform the encoding of the data in
the database to UTF-8 before further processing.
3 changes: 3 additions & 0 deletions deskutils/copyq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ PORTREVISION= 2
CATEGORIES= deskutils
PKGNAMESUFFIX= -${FLAVOR}

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 79d33dd337deeb357ce92c3d1e2b5b56b6f2c97d.patch:-p1 # Fix build with Qt 6.5.x

MAINTAINER= [email protected]
COMMENT= Qt${FLAVOR:S/qt//} based clipboard manager
WWW= https://github.com/hluk/CopyQ
Expand Down
4 changes: 3 additions & 1 deletion deskutils/copyq/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TIMESTAMP = 1680456044
TIMESTAMP = 1689891691
SHA256 (hluk-CopyQ-v7.0.0_GH0.tar.gz) = 5898ba2025f8e9f61a4b4732e85adf3b1653fad20b5c1f1b0c879a7b72cd4d48
SIZE (hluk-CopyQ-v7.0.0_GH0.tar.gz) = 3323354
SHA256 (79d33dd337deeb357ce92c3d1e2b5b56b6f2c97d.patch) = 1e35ffd348245b2ca74671e17e38ea77888c589730da69974f6440923226872e
SIZE (79d33dd337deeb357ce92c3d1e2b5b56b6f2c97d.patch) = 1734
Loading

0 comments on commit f0dd6f9

Please sign in to comment.