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/mar/Makefile | |
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/mar/Makefile')
-rw-r--r-- | archivers/mar/Makefile | 38 |
1 files changed, 38 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> |