diff options
author | swills <swills@FreeBSD.org> | 2016-01-04 23:36:08 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2016-01-04 23:36:08 +0800 |
commit | d3c0d33f29c7cad81f1844aab2c8d6af3094fa85 (patch) | |
tree | 252d54b0bcbb135a0cc09f36934d1ca0418a6a73 | |
parent | 5282fce21a43f545c4b1b2c28dc2357782559b06 (diff) | |
download | freebsd-ports-gnome-d3c0d33f29c7cad81f1844aab2c8d6af3094fa85.tar.gz freebsd-ports-gnome-d3c0d33f29c7cad81f1844aab2c8d6af3094fa85.tar.zst freebsd-ports-gnome-d3c0d33f29c7cad81f1844aab2c8d6af3094fa85.zip |
devel/creduce: revive port
Since creduce seems to be maintained after all and has recently had a release
which now works with newer llvm, revive the port.
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | devel/creduce/Makefile | 30 | ||||
-rw-r--r-- | devel/creduce/distinfo | 2 | ||||
-rw-r--r-- | devel/creduce/pkg-descr | 5 | ||||
-rw-r--r-- | devel/creduce/pkg-plist | 18 |
5 files changed, 55 insertions, 1 deletions
@@ -7288,7 +7288,6 @@ sysutils/rubygem-hiera-puppet||2014-12-01|Has expired: Has been incorporated int sysutils/rubygem-hiera-json||2014-12-01|Has expired: Has been incorporated into hiera databases/memcachedb||2014-12-01|Has expired: Depends on deprecated Berkeley DB version, needs porting to DB_SITE games/djgame2||2014-12-01|Has expired: Online servers gone, game is not playable -devel/creduce||2014-12-01|Has expired: Unmaintained and depends on ancient LLVM 3.2 lang/clay||2014-12-01|Has expired: No development since July 2013, depends on obsolete clang-3.2 textproc/libodfgen|textproc/libodfgen01|2014-12-02|Replaced by newer version graphics/libetonyek|graphics/libetonyek01|2014-12-02|Replaced by newer version diff --git a/devel/creduce/Makefile b/devel/creduce/Makefile new file mode 100644 index 000000000000..05f104adf9ef --- /dev/null +++ b/devel/creduce/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= creduce +DISTVERSION= 2.4.0 +CATEGORIES= devel +MASTER_SITES= http://embed.cs.utah.edu/creduce/ + +MAINTAINER= swills@FreeBSD.org +COMMENT= Produces small test cases + +BUILD_DEPENDS= llvm-config37:${PORTSDIR}/devel/llvm37 +RUN_DEPENDS= llvm-config37:${PORTSDIR}/devel/llvm37 \ + topformflat:${PORTSDIR}/devel/delta \ + astyle:${PORTSDIR}/devel/astyle \ + p5-Benchmark-Timer>=0:${PORTSDIR}/devel/p5-Benchmark-Timer \ + p5-Exporter-Lite>=0:${PORTSDIR}/devel/p5-Exporter-Lite \ + p5-File-Which>=0:${PORTSDIR}/sysutils/p5-File-Which \ + p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \ + devel/p5-Sys-Cpu>=0:${PORTSDIR}/devel/p5-Sys-Cpu \ + p5-Getopt-Tabular>=0:${PORTSDIR}/devel/p5-Getopt-Tabular + +GNU_CONFIGURE= yes +CONFIGURE_FLAGS= --with-llvm=${LOCALBASE} + +USES= gmake perl5 + +post-patch: + ${REINPLACE_CMD} 's,llvm-config,llvm-config37,g' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/devel/creduce/distinfo b/devel/creduce/distinfo new file mode 100644 index 000000000000..b0e408c6d259 --- /dev/null +++ b/devel/creduce/distinfo @@ -0,0 +1,2 @@ +SHA256 (creduce-2.4.0.tar.gz) = 0b4c5184b7bdc369a476c0eb4d41f1618f66e82d7ebeafa9492c0355ce63ed35 +SIZE (creduce-2.4.0.tar.gz) = 677706 diff --git a/devel/creduce/pkg-descr b/devel/creduce/pkg-descr new file mode 100644 index 000000000000..5c8eabf8297d --- /dev/null +++ b/devel/creduce/pkg-descr @@ -0,0 +1,5 @@ +C-Reduce is a tool which takes a large C or C++ program that has a property of +interest (such as triggering a compiler bug) and automatically produces a much +smaller C/C++ program that has the same property. It is intended for use by +people who discover and report bugs in compilers and other tools that process +C/C++ code. diff --git a/devel/creduce/pkg-plist b/devel/creduce/pkg-plist new file mode 100644 index 000000000000..249bc5978d6e --- /dev/null +++ b/devel/creduce/pkg-plist @@ -0,0 +1,18 @@ +bin/creduce +libexec/clang_delta +libexec/clex +libexec/strlex +%%DATADIR%%/perl/creduce_config.pm +%%DATADIR%%/perl/creduce_regexes.pm +%%DATADIR%%/perl/creduce_utils.pm +%%DATADIR%%/perl/pass_balanced.pm +%%DATADIR%%/perl/pass_blank.pm +%%DATADIR%%/perl/pass_clang_binsrch.pm +%%DATADIR%%/perl/pass_clang.pm +%%DATADIR%%/perl/pass_clex.pm +%%DATADIR%%/perl/pass_indent.pm +%%DATADIR%%/perl/pass_ints.pm +%%DATADIR%%/perl/pass_lines.pm +%%DATADIR%%/perl/pass_peep.pm +%%DATADIR%%/perl/pass_special.pm +%%DATADIR%%/perl/pass_ternary.pm |