diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/nunnimcax/Makefile | 26 | ||||
-rw-r--r-- | textproc/nunnimcax/distinfo | 2 | ||||
-rw-r--r-- | textproc/nunnimcax/files/Makefile | 12 | ||||
-rw-r--r-- | textproc/nunnimcax/pkg-descr | 10 | ||||
-rw-r--r-- | textproc/nunnimcax/pkg-plist | 4 |
6 files changed, 55 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index c53e235..dac5cb3 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -219,6 +219,7 @@ SUBDIR += nl-ispell SUBDIR += nltk SUBDIR += nn-aspell + SUBDIR += nunnimcax SUBDIR += ocaml-pxp SUBDIR += ocaml-yaxi SUBDIR += ocaml-yaxpo diff --git a/textproc/nunnimcax/Makefile b/textproc/nunnimcax/Makefile new file mode 100644 index 0000000..49b26c7 --- /dev/null +++ b/textproc/nunnimcax/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: NunniMCAX +# Date created: 15 August 2004 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= NunniMCAX +PORTVERSION= 1.3 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= nunnimcax + +MAINTAINER= skv@FreeBSD.org +COMMENT= C, non validating XML parser with SAX-like API + +INSTALLS_SHLIB= YES +SHLIB_MAJOR= 1 +PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" + +post-patch: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev + @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ + ${FILESDIR}/Makefile > ${WRKSRC}/Makefile + +.include <bsd.port.mk> diff --git a/textproc/nunnimcax/distinfo b/textproc/nunnimcax/distinfo new file mode 100644 index 0000000..0a5870e --- /dev/null +++ b/textproc/nunnimcax/distinfo @@ -0,0 +1,2 @@ +MD5 (NunniMCAX-1.3.tar.gz) = b134d16993f209d65c227d28d55d14a1 +SIZE (NunniMCAX-1.3.tar.gz) = 29777 diff --git a/textproc/nunnimcax/files/Makefile b/textproc/nunnimcax/files/Makefile new file mode 100644 index 0000000..4cebe7e --- /dev/null +++ b/textproc/nunnimcax/files/Makefile @@ -0,0 +1,12 @@ +# $FreeBSD$ + +LIB = NunniMCAX +SRCS= NunniCXMLParser.c NunniCXMLParserFSM.c NunniHashtable.c NunniStack.c +INCS= NunniMCAX.h + +SHLIB_MAJOR= %%SHLIB_MAJOR%% + +LIBDIR= ${PREFIX}/lib +INCLUDEDIR= ${PREFIX}/include + +.include <bsd.lib.mk> diff --git a/textproc/nunnimcax/pkg-descr b/textproc/nunnimcax/pkg-descr new file mode 100644 index 0000000..2c22368 --- /dev/null +++ b/textproc/nunnimcax/pkg-descr @@ -0,0 +1,10 @@ +NunniMCAX is a C, non validating XML parser. Its APIs and functioning +are very similar to SAX. + +The aim of NunniMCAX is to be a lightweight, fast and reliable XML +parser to be used in environment with limited resources. A minimal +(only well-formed check) executable linked statically against the +library with all symbols stripped away on FreeBSD has a size below +19 KByte. + +WWW: http://sourceforge.net/projects/nunnimcax/ diff --git a/textproc/nunnimcax/pkg-plist b/textproc/nunnimcax/pkg-plist new file mode 100644 index 0000000..3ccf1a5 --- /dev/null +++ b/textproc/nunnimcax/pkg-plist @@ -0,0 +1,4 @@ +include/NunniMCAX.h +lib/libNunniMCAX.a +lib/libNunniMCAX.so +lib/libNunniMCAX.so.%%SHLIB_MAJOR%% |