ports/devel/cdecl/Makefile
Larry Rosenman 2f70772413
devel/cdecl: update to 11.13
ChangeLog:
Aligned enum, struct, and union in C
Alignment of enum, struct, and union is now correctly forbidden in C.

alignas & _Alignas
These keywords are now additionally allowed instead of aligned [as|to]
in pseudo-English.

Auto-completion of cdecl keywords
Cdecl keywords are now not auto-completable when explaining gibberish.

Auto-completion tweaks
new is now auto-completable; variadic is now autocompletable only in C89
and later. The following are now not autocompletable: co_await,
co_return, co_yield, concept, decltype, and requires.

restrict of typedef
restrict is now correctly allowed on typedefs of pointer:

cdecl> typdef int *pint
cdecl> explain restrict pint p
declare p as restricted pint
return English shorthand
return is now accepted as a shorthand for returning in pseudo-English.

English new-style cast synonyms
The C++ keywords const_cast, dynamic_cast, reinterpret_cast, and
static_cast are now synonyms for their respective two-word counterparts
in pseudo-English.

Fixed core dump for --debug/-d for operator
Fixed a core dump when using the --debug/-d option for an operator.

Fixed function returning function parameter crash
A crash for:

explain void f( int()() )
(which is illegal) has been fixed.
2022-02-27 15:03:27 -06:00

26 lines
503 B
Makefile

# Created by: David O'Brien (obrien@NUXI.com)
PORTNAME= cdecl
PORTVERSION= 11.13
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= devel
MAINTAINER= ler@FreeBSD.org
COMMENT= Explains complicated C/C++ declarations in plain English
LICENSE= GPLv3
BUILD_DEPENDS= flex:textproc/flex
USES= autoreconf bison ncurses readline
CONFLICTS= cutils
USE_GITHUB= yes
GH_ACCOUNT= paul-j-lucas
GNU_CONFIGURE= yes
PLIST_FILES= bin/cdecl bin/c++decl man/man1/cdecl.1.gz man/man1/c++decl.1.gz
.include <bsd.port.mk>