aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/mtf/Makefile
blob: b2a912c6d1c78e93b3290668e32e6e2e9b2fa67f (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
# New ports collection makefile for:   mtf
# Date created:        29 January 2002
# Whom:                Philippe Casidy <pcasidy@casidy.com>
#
# $FreeBSD$
#

PORTNAME=   mtf
PORTVERSION=    0.2.1
PORTREVISION=   1
CATEGORIES= archivers
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/backup
EXTRACT_SUFX=   .tgz

MAINTAINER= scjamorim@bsd.com.br
COMMENT=    A Unix reader for the Microsoft Tape Format used by NT Backup

ALL_TARGET= # empty
PLIST_FILES=    bin/mtf
PORTDOCS=   README

post-patch:
    @${REINPLACE_CMD} -e "s|CC=|CC?=|" \
            -e "s|CFLAGS=|CFLAGS?=|" \
            ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/mtf ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>