summaryrefslogtreecommitdiff
path: root/archivers/mtf/Makefile
blob: 75dc8f8eae73948f60e0c6e84e2319201e88e4f2 (plain)
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
# 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=	sylvio@FreeBSD.org
COMMENT=	A Unix reader for the Microsoft Tape Format used by NT Backup

LICENSE=	GPLv2

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>