1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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>
This commit is contained in:
Kirill Ponomarev 2004-10-14 08:51:02 +00:00
parent 362d1f7c4e
commit 153c40f19a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119385
6 changed files with 138 additions and 0 deletions

View File

@ -9,6 +9,7 @@
SUBDIR += TenDRA
SUBDIR += aleph
SUBDIR += alisp
SUBDIR += asn1c
SUBDIR += atlast
SUBDIR += awka
SUBDIR += bf2c

28
lang/asn1c/Makefile Normal file
View File

@ -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>

2
lang/asn1c/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (asn1c-0.9.4.tar.gz) = 93c2ef70b015693c28f6f014230e79dd
SIZE (asn1c-0.9.4.tar.gz) = 792180

12
lang/asn1c/pkg-descr Normal file
View File

@ -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

6
lang/asn1c/pkg-message Normal file
View File

@ -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.
===========================================================================

89
lang/asn1c/pkg-plist Normal file
View File

@ -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%%