aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/mar/Makefile
blob: c797ac123ab60a4603b5ab56884606be0bdd9b4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/ \
        http://critical.ch/distfiles/ \
        http://energy.critical.ch/distfiles/
DISTNAME=   ${PORTNAME}-${DISTVERSION}-src

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A simple binary file format for storing arbitrary meta and user data

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>