Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 21:03:36 +0200 (CEST)
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82453: new port: archivers/mar 
Message-ID:  <200506201903.j5KJ3aUt064413@beaver.critical.ch>
Resent-Message-ID: <200506201910.j5KJAIJ9085247@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         82453
>Category:       ports
>Synopsis:       new port: archivers/mar
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 20 19:10:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Fri Jun 10 23:25:47 CEST 2005 root@beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386


	
>Description:
new port: archivers/mar

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.


>How-To-Repeat:
	
>Fix:

	



--- mar.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mar
#	mar/Makefile
#	mar/pkg-descr
#	mar/distinfo
#	mar/pkg-plist
#
echo c - mar
mkdir -p mar > /dev/null 2>&1
echo x - mar/Makefile
sed 's/^X//' >mar/Makefile << 'END-of-mar/Makefile'
X# New ports collection makefile for:	mar
X# Date created:				20 Jun 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mar
XDISTVERSION=	0.5
XCATEGORIES=	archivers
XMASTER_SITES=	http://www.emantic.co.uk/mark/files/
XDISTNAME=	${PORTNAME}-${DISTVERSION}-src
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	A simple binary file format for storing arbitrary meta and user data
X
XUSE_REINPLACE=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
X
XMAN1=		mar.1
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|^\(CFLAGS\ \)|\1?|' \
X		${WRKSRC}/src/Makefile
X	@${REINPLACE_CMD} -e 's|^\(CXXFLAGS\ \)|\1?|' \
X		${WRKSRC}/src/Makefile
X
Xdo-build:
X	${MAKE} -C ${WRKSRC}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/man/man1/mar.1 ${MANPREFIX}/man/man1
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mar/Makefile
echo x - mar/pkg-descr
sed 's/^X//' >mar/pkg-descr << 'END-of-mar/pkg-descr'
XA simple binary file format for storing arbitrary meta and user data.
X
XA meta archive uses a simple binary file format to store both meta and user
Xdata together in a single file. A mar file may be suitable in situations where
Xa full-scale database is not. Both the mar library and the accompanying utility
Xare written in C with the intention of porting to many platforms.
X
XWWW: http://www.emantic.co.uk/mark/
X
X- ehaupt
Xehaupt@critical.ch
END-of-mar/pkg-descr
echo x - mar/distinfo
sed 's/^X//' >mar/distinfo << 'END-of-mar/distinfo'
XMD5 (mar-0.5-src.tar.gz) = 5f7160d8752fdceb5b629afb4cc29d5f
XSIZE (mar-0.5-src.tar.gz) = 74089
END-of-mar/distinfo
echo x - mar/pkg-plist
sed 's/^X//' >mar/pkg-plist << 'END-of-mar/pkg-plist'
Xbin/mar
X%%PORTDOCS%%%%DOCSDIR%%/annotated.html
X%%PORTDOCS%%%%DOCSDIR%%/files.html
X%%PORTDOCS%%%%DOCSDIR%%/functions.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_vars.html
X%%PORTDOCS%%%%DOCSDIR%%/globals.html
X%%PORTDOCS%%%%DOCSDIR%%/globals_defs.html
X%%PORTDOCS%%%%DOCSDIR%%/globals_func.html
X%%PORTDOCS%%%%DOCSDIR%%/globals_type.html
X%%PORTDOCS%%%%DOCSDIR%%/group__OpenFlags.html
X%%PORTDOCS%%%%DOCSDIR%%/group__SeekWhence.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/mar__c_8h-source.html
X%%PORTDOCS%%%%DOCSDIR%%/mar__c_8h.html
X%%PORTDOCS%%%%DOCSDIR%%/mar__storage__c_8h-source.html
X%%PORTDOCS%%%%DOCSDIR%%/mar__storage__c_8h.html
X%%PORTDOCS%%%%DOCSDIR%%/mar__types__c_8h-source.html
X%%PORTDOCS%%%%DOCSDIR%%/mar__types__c_8h.html
X%%PORTDOCS%%%%DOCSDIR%%/modules.html
X%%PORTDOCS%%%%DOCSDIR%%/structmar__pair.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-mar/pkg-plist
exit
--- mar.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506201903.j5KJ3aUt064413>