diff options
author | krion <krion@FreeBSD.org> | 2004-10-14 16:51:02 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-10-14 16:51:02 +0800 |
commit | 2c2dbecc2c68dc324150404c1375b482ddae189a (patch) | |
tree | 6abd7f4cb9077c945f955a461d486436f921f6f1 /lang/asn1c | |
parent | d0de14ffa4bb0ccc10e1a43b497b44ffdebbbcd4 (diff) | |
download | freebsd-ports-gnome-2c2dbecc2c68dc324150404c1375b482ddae189a.tar.gz freebsd-ports-gnome-2c2dbecc2c68dc324150404c1375b482ddae189a.tar.zst freebsd-ports-gnome-2c2dbecc2c68dc324150404c1375b482ddae189a.zip |
Add asn1c 0.9.4,
The asn1c compiles ASN.1 (Abstract Syntax Notation One)
specifications into the C source code. This compiler supports
automatic constraints checking code generation, parametrization,
basic support for Information Object Classes. The produced C code
contains the codecs for BER & DER encoding rules.
PR: ports/71560.
Submitted by: Lev Walkin <vlm@lionet.info>
Diffstat (limited to 'lang/asn1c')
-rw-r--r-- | lang/asn1c/Makefile | 28 | ||||
-rw-r--r-- | lang/asn1c/distinfo | 2 | ||||
-rw-r--r-- | lang/asn1c/pkg-descr | 12 | ||||
-rw-r--r-- | lang/asn1c/pkg-message | 6 | ||||
-rw-r--r-- | lang/asn1c/pkg-plist | 89 |
5 files changed, 137 insertions, 0 deletions
diff --git a/lang/asn1c/Makefile b/lang/asn1c/Makefile new file mode 100644 index 000000000000..3877eb76cb03 --- /dev/null +++ b/lang/asn1c/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: asn1c +# Date created: 10 Sep 2004 +# Whom: Lev Walkin <vlm@lionet.info> +# +# $FreeBSD$ +# + +PORTNAME= asn1c +PORTVERSION= 0.9.4 +CATEGORIES= lang converters security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://lionet.info/soft/ +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= vlm@lionet.info +COMMENT= Modern ASN.1 to C compiler + +GNU_CONFIGURE= yes +CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +MAN1= asn1c.1 + +.include <bsd.port.pre.mk> + +post-install: + @${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" + +.include <bsd.port.post.mk> diff --git a/lang/asn1c/distinfo b/lang/asn1c/distinfo new file mode 100644 index 000000000000..6d0e04c019cb --- /dev/null +++ b/lang/asn1c/distinfo @@ -0,0 +1,2 @@ +MD5 (asn1c-0.9.4.tar.gz) = 93c2ef70b015693c28f6f014230e79dd +SIZE (asn1c-0.9.4.tar.gz) = 792180 diff --git a/lang/asn1c/pkg-descr b/lang/asn1c/pkg-descr new file mode 100644 index 000000000000..0878be70e2cb --- /dev/null +++ b/lang/asn1c/pkg-descr @@ -0,0 +1,12 @@ +The asn1c compiles ASN.1 (Abstract Syntax Notation One) specifications into +the C source code. This compiler supports automatic constraints checking code +generation, parametrization, basic support for Information Object Classes. +The produced C code contains the codecs for BER & DER encoding rules. + +See asn1c-usage.pdf and asn1c(1) manual page for details. + +WWW: http://asn1c.sourceforge.net/ + +-- +Lev Walkin +vlm@lionet.info diff --git a/lang/asn1c/pkg-message b/lang/asn1c/pkg-message new file mode 100644 index 000000000000..54d297a90d15 --- /dev/null +++ b/lang/asn1c/pkg-message @@ -0,0 +1,6 @@ +=========================================================================== + +Please read %%PREFIX%%/share/doc/asn1c/asn1c-usage.pdf and other files +in that directory. The asn1c(1) manual page is also available. + +=========================================================================== diff --git a/lang/asn1c/pkg-plist b/lang/asn1c/pkg-plist new file mode 100644 index 000000000000..f8ee457b511f --- /dev/null +++ b/lang/asn1c/pkg-plist @@ -0,0 +1,89 @@ +bin/asn1c +bin/clyx2asn1.pl +bin/crfc2asn1.pl +%%DATADIR%%/ANY.c +%%DATADIR%%/ANY.h +%%DATADIR%%/BIT_STRING.c +%%DATADIR%%/BIT_STRING.h +%%DATADIR%%/BMPString.c +%%DATADIR%%/BMPString.h +%%DATADIR%%/BOOLEAN.c +%%DATADIR%%/BOOLEAN.h +%%DATADIR%%/ENUMERATED.c +%%DATADIR%%/ENUMERATED.h +%%DATADIR%%/GeneralString.c +%%DATADIR%%/GeneralString.h +%%DATADIR%%/GeneralizedTime.c +%%DATADIR%%/GeneralizedTime.h +%%DATADIR%%/GraphicString.c +%%DATADIR%%/GraphicString.h +%%DATADIR%%/IA5String.c +%%DATADIR%%/IA5String.h +%%DATADIR%%/INTEGER.c +%%DATADIR%%/INTEGER.h +%%DATADIR%%/ISO646String.c +%%DATADIR%%/ISO646String.h +%%DATADIR%%/NULL.c +%%DATADIR%%/NULL.h +%%DATADIR%%/NativeEnumerated.c +%%DATADIR%%/NativeEnumerated.h +%%DATADIR%%/NativeInteger.c +%%DATADIR%%/NativeInteger.h +%%DATADIR%%/NumericString.c +%%DATADIR%%/NumericString.h +%%DATADIR%%/OBJECT_IDENTIFIER.c +%%DATADIR%%/OBJECT_IDENTIFIER.h +%%DATADIR%%/OCTET_STRING.c +%%DATADIR%%/OCTET_STRING.h +%%DATADIR%%/ObjectDescriptor.c +%%DATADIR%%/ObjectDescriptor.h +%%DATADIR%%/PrintableString.c +%%DATADIR%%/PrintableString.h +%%DATADIR%%/RELATIVE-OID.c +%%DATADIR%%/RELATIVE-OID.h +%%DATADIR%%/T61String.c +%%DATADIR%%/T61String.h +%%DATADIR%%/TeletexString.c +%%DATADIR%%/TeletexString.h +%%DATADIR%%/UTCTime.c +%%DATADIR%%/UTCTime.h +%%DATADIR%%/UTF8String.c +%%DATADIR%%/UTF8String.h +%%DATADIR%%/UniversalString.c +%%DATADIR%%/UniversalString.h +%%DATADIR%%/VideotexString.c +%%DATADIR%%/VideotexString.h +%%DATADIR%%/VisibleString.c +%%DATADIR%%/VisibleString.h +%%DATADIR%%/asn_SEQUENCE_OF.c +%%DATADIR%%/asn_SEQUENCE_OF.h +%%DATADIR%%/asn_SET_OF.c +%%DATADIR%%/asn_SET_OF.h +%%DATADIR%%/asn_types.h +%%DATADIR%%/ber_decoder.c +%%DATADIR%%/ber_decoder.h +%%DATADIR%%/ber_tlv_length.c +%%DATADIR%%/ber_tlv_length.h +%%DATADIR%%/ber_tlv_tag.c +%%DATADIR%%/ber_tlv_tag.h +%%DATADIR%%/constr_CHOICE.c +%%DATADIR%%/constr_CHOICE.h +%%DATADIR%%/constr_SEQUENCE.c +%%DATADIR%%/constr_SEQUENCE.h +%%DATADIR%%/constr_SEQUENCE_OF.c +%%DATADIR%%/constr_SEQUENCE_OF.h +%%DATADIR%%/constr_SET.c +%%DATADIR%%/constr_SET.h +%%DATADIR%%/constr_SET_OF.c +%%DATADIR%%/constr_SET_OF.h +%%DATADIR%%/constr_TYPE.c +%%DATADIR%%/constr_TYPE.h +%%DATADIR%%/constraints.c +%%DATADIR%%/constraints.h +%%DATADIR%%/der_encoder.c +%%DATADIR%%/der_encoder.h +%%DATADIR%%/file-dependencies +%%PORTDOCS%%%%DOCSDIR%%/asn1c-usage.html +%%PORTDOCS%%%%DOCSDIR%%/asn1c-usage.pdf +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%% |