ports/82453: new port: archivers/mar
Emanuel Haupt
ehaupt at critical.ch
Mon Jun 20 19:10:18 UTC 2005
>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 at 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 at 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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list