summaryrefslogtreecommitdiff
path: root/emulators/vmsbackup/Makefile
blob: e5ce0105b4f410429112b5a06794524450c5b14b (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
# New ports collection makefile for:	vmsbackup
# Date created:		18 Apr 1994
# Whom:			Jonathan M. Bresler (jmb)
#
# $FreeBSD$
#

PORTNAME=	vmsbackup
PORTVERSION=	4.0
CATEGORIES=	emulators sysutils
MASTER_SITES=	http://www.bsdberlin.org/~dako/distfiles/emulators/
DISTNAME=	${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=	.tar

MAINTAINER=	dako@bsdberlin.org
COMMENT=	Reads VMS BACKUP tapes

MAN1=		vmsbackup.1
MANCOMPRESSED=	yes
PLIST_FILES=	bin/vmsbackup
MAKE_FLAGS=	BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 -f
USE_REINPLACE=  yes

post-patch:
	@${REINPLACE_CMD} -e 's#gets(ans);#fgets(ans, 80, stdin);#' ${WRKSRC}/vmsbackup.c
	@${REINPLACE_CMD} -e 's#"getopt.h"#<unistd.h>#' ${WRKSRC}/getoptmain.c

.include <bsd.port.mk>