diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-06-22 06:13:00 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-06-22 06:13:00 +0000 |
commit | 3f1a47cee58f0ce83dafc1882b0572cf59e8a7a7 (patch) | |
tree | 2712fc40b6ac9892594e05ccf60c01c0fd70cda3 /archivers/mar | |
parent | - Update to 2.4.4. (diff) |
Add mar , a simple binary file format for storing arbitrary meta and
user data.
PR: ports/82453
Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes:
svn path=/head/; revision=137834
Diffstat (limited to 'archivers/mar')
-rw-r--r-- | archivers/mar/Makefile | 38 | ||||
-rw-r--r-- | archivers/mar/distinfo | 2 | ||||
-rw-r--r-- | archivers/mar/pkg-descr | 11 | ||||
-rw-r--r-- | archivers/mar/pkg-plist | 21 |
4 files changed, 72 insertions, 0 deletions
diff --git a/archivers/mar/Makefile b/archivers/mar/Makefile new file mode 100644 index 000000000000..b04acd412c94 --- /dev/null +++ b/archivers/mar/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: mar +# Date created: 20 Jun 2005 +# Whom: Emanuel Haupt <ehaupt@critical.ch> +# +# $FreeBSD$ +# + +PORTNAME= mar +DISTVERSION= 0.5 +CATEGORIES= archivers +MASTER_SITES= http://www.emantic.co.uk/mark/files/ +DISTNAME= ${PORTNAME}-${DISTVERSION}-src + +MAINTAINER= ehaupt@critical.ch +COMMENT= A simple binary file format for storing arbitrary meta and user data + +USE_REINPLACE= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} + +MAN1= mar.1 + +post-patch: + @${REINPLACE_CMD} -e 's|^\(CFLAGS\ \)|\1?|' \ + ${WRKSRC}/src/Makefile + @${REINPLACE_CMD} -e 's|^\(CXXFLAGS\ \)|\1?|' \ + ${WRKSRC}/src/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/man1/mar.1 ${MANPREFIX}/man/man1 + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/archivers/mar/distinfo b/archivers/mar/distinfo new file mode 100644 index 000000000000..283c3f6a783f --- /dev/null +++ b/archivers/mar/distinfo @@ -0,0 +1,2 @@ +MD5 (mar-0.5-src.tar.gz) = 5f7160d8752fdceb5b629afb4cc29d5f +SIZE (mar-0.5-src.tar.gz) = 74089 diff --git a/archivers/mar/pkg-descr b/archivers/mar/pkg-descr new file mode 100644 index 000000000000..34619f2a1025 --- /dev/null +++ b/archivers/mar/pkg-descr @@ -0,0 +1,11 @@ +A simple binary file format for storing arbitrary meta and user data. + +A meta archive uses a simple binary file format to store both meta and user +data together in a single file. A mar file may be suitable in situations where +a full-scale database is not. Both the mar library and the accompanying utility +are written in C with the intention of porting to many platforms. + +WWW: http://www.emantic.co.uk/mark/ + +- ehaupt +ehaupt@critical.ch diff --git a/archivers/mar/pkg-plist b/archivers/mar/pkg-plist new file mode 100644 index 000000000000..0f061242ca1c --- /dev/null +++ b/archivers/mar/pkg-plist @@ -0,0 +1,21 @@ +bin/mar +%%PORTDOCS%%%%DOCSDIR%%/annotated.html +%%PORTDOCS%%%%DOCSDIR%%/files.html +%%PORTDOCS%%%%DOCSDIR%%/functions.html +%%PORTDOCS%%%%DOCSDIR%%/functions_vars.html +%%PORTDOCS%%%%DOCSDIR%%/globals.html +%%PORTDOCS%%%%DOCSDIR%%/globals_defs.html +%%PORTDOCS%%%%DOCSDIR%%/globals_func.html +%%PORTDOCS%%%%DOCSDIR%%/globals_type.html +%%PORTDOCS%%%%DOCSDIR%%/group__OpenFlags.html +%%PORTDOCS%%%%DOCSDIR%%/group__SeekWhence.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/mar__c_8h-source.html +%%PORTDOCS%%%%DOCSDIR%%/mar__c_8h.html +%%PORTDOCS%%%%DOCSDIR%%/mar__storage__c_8h-source.html +%%PORTDOCS%%%%DOCSDIR%%/mar__storage__c_8h.html +%%PORTDOCS%%%%DOCSDIR%%/mar__types__c_8h-source.html +%%PORTDOCS%%%%DOCSDIR%%/mar__types__c_8h.html +%%PORTDOCS%%%%DOCSDIR%%/modules.html +%%PORTDOCS%%%%DOCSDIR%%/structmar__pair.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% |