diff options
author | ahze <ahze@FreeBSD.org> | 2005-06-22 14:13:00 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-06-22 14:13:00 +0800 |
commit | 8d3e88d593dc4144b8ef076bc6479e9324eb8d57 (patch) | |
tree | c6167d4a9fda993f3d45cacddf70f75e10611103 /archivers | |
parent | 79ead4d2ba64be3dbba96d5bdb4716efc3332928 (diff) | |
download | freebsd-ports-gnome-8d3e88d593dc4144b8ef076bc6479e9324eb8d57.tar.gz freebsd-ports-gnome-8d3e88d593dc4144b8ef076bc6479e9324eb8d57.tar.zst freebsd-ports-gnome-8d3e88d593dc4144b8ef076bc6479e9324eb8d57.zip |
Add mar , a simple binary file format for storing arbitrary meta and
user data.
PR: ports/82453
Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-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 |
5 files changed, 73 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index b801ff839b9c..eaa307a91993 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -44,6 +44,7 @@ SUBDIR += lzop SUBDIR += macutils SUBDIR += makeself + SUBDIR += mar SUBDIR += mscompress SUBDIR += mtf SUBDIR += nomarch 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%% |