summaryrefslogtreecommitdiff
path: root/devel/csmith
diff options
context:
space:
mode:
Diffstat (limited to 'devel/csmith')
-rw-r--r--devel/csmith/Makefile30
-rw-r--r--devel/csmith/distinfo6
-rw-r--r--devel/csmith/pkg-plist38
3 files changed, 31 insertions, 43 deletions
diff --git a/devel/csmith/Makefile b/devel/csmith/Makefile
index 15e8a896c2a1..4d62c42ae389 100644
--- a/devel/csmith/Makefile
+++ b/devel/csmith/Makefile
@@ -1,38 +1,26 @@
PORTNAME= csmith
-PORTVERSION= 2.3.0
+DISTVERSIONPREFIX= csmith-
+DISTVERSION= 2.3.0-79
+DISTVERSIONSUFFIX= -g0ec6f1b
CATEGORIES= devel
-MASTER_SITES= http://embed.cs.utah.edu/csmith/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= fuz@FreeBSD.org
COMMENT= Generates random C programs that conform to the C99 standard
-WWW= https://embed.cs.utah.edu/csmith/
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN= Unfetchable
-DEPRECATED= Unmaintained for years
-EXPIRATION_DATE=2025-06-30
-
-USES= gmake libtool localbase perl5 shebangfix
+USES= cmake libtool localbase perl5 shebangfix
USE_CXXSTD= c++11
+USE_GITHUB= yes
+GH_ACCOUNT= csmith-project
USE_LDCONFIG= yes
USE_PERL5= run
SHEBANG_FILES= scripts/compiler_test.pl scripts/launchn.pl
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --docdir=${DOCSDIR}
-
-INSTALL_TARGET= install-strip
-
+CXXFLAGS+= -Wno-enum-constexpr-conversion
PLIST_SUB= PKGNAME="${PKGNAME}"
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD
-CPPFLAGS+= -Wno-error=enum-constexpr-conversion
-.endif
-
.include <bsd.port.mk>
diff --git a/devel/csmith/distinfo b/devel/csmith/distinfo
index 19ec2352a1fc..a103183a8e2c 100644
--- a/devel/csmith/distinfo
+++ b/devel/csmith/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1498294369
-SHA256 (csmith-2.3.0.tar.gz) = f247cc0aede5f8a0746271b40a5092b5b5a2d034e5e8f7a836c879dde3fb65d5
-SIZE (csmith-2.3.0.tar.gz) = 637381
+TIMESTAMP = 1747309204
+SHA256 (csmith-project-csmith-csmith-2.3.0-79-g0ec6f1b_GH0.tar.gz) = fba590ba3f8a37e8c9a3613653379590ddda88516172d48fac8b3db288f4ae96
+SIZE (csmith-project-csmith-csmith-2.3.0-79-g0ec6f1b_GH0.tar.gz) = 322529
diff --git a/devel/csmith/pkg-plist b/devel/csmith/pkg-plist
index 4191f8185f10..2651af4c9cfe 100644
--- a/devel/csmith/pkg-plist
+++ b/devel/csmith/pkg-plist
@@ -2,25 +2,25 @@ bin/compiler_test.in
bin/compiler_test.pl
bin/csmith
bin/launchn.pl
-include/%%PKGNAME%%/csmith.h
-include/%%PKGNAME%%/csmith_minimal.h
-include/%%PKGNAME%%/custom_limits.h
-include/%%PKGNAME%%/custom_stdint_x86.h
-include/%%PKGNAME%%/platform_avr.h
-include/%%PKGNAME%%/platform_generic.h
-include/%%PKGNAME%%/platform_msp430.h
-include/%%PKGNAME%%/random_inc.h
-include/%%PKGNAME%%/safe_abbrev.h
-include/%%PKGNAME%%/safe_math.h
-include/%%PKGNAME%%/safe_math_macros.h
-include/%%PKGNAME%%/safe_math_macros_notmp.h
-include/%%PKGNAME%%/stdint_avr.h
-include/%%PKGNAME%%/stdint_ia32.h
-include/%%PKGNAME%%/stdint_ia64.h
-include/%%PKGNAME%%/stdint_msp430.h
-include/%%PKGNAME%%/volatile_runtime.c
-include/%%PKGNAME%%/volatile_runtime.h
-include/%%PKGNAME%%/windows/stdint.h
+include/csmith.h
+include/csmith_minimal.h
+include/custom_limits.h
+include/custom_stdint_x86.h
+include/platform_avr.h
+include/platform_generic.h
+include/platform_msp430.h
+include/random_inc.h
+include/safe_abbrev.h
+include/safe_math.h
+include/safe_math_macros.h
+include/safe_math_macros_notmp.h
+include/stdint_avr.h
+include/stdint_ia32.h
+include/stdint_ia64.h
+include/stdint_msp430.h
+include/volatile_runtime.c
+include/volatile_runtime.h
+include/windows/stdint.h
lib/libcsmith.a
lib/libcsmith.so
lib/libcsmith.so.0