summaryrefslogtreecommitdiffstats
path: root/emulators/vmsbackup/Makefile
blob: a625f1d887b81d757e807bafdd0d857f3a179b6a (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
# Created by: Jonathan M. Bresler (jmb)
# $FreeBSD$

PORTNAME=	vmsbackup
PORTVERSION=	4.1.1
CATEGORIES=	emulators sysutils
MASTER_SITES=	http://dl.droso.net/FreeBSD/distfiles/ \
		http://freebsd.t-hosting.hu/vmsbackup/ \
		${MASTER_SITE_LOCAL:S/$/erwin\//}
DISTNAME=	VMSBACKUP4-1-1
EXTRACT_SUFX=	.ZIP

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Reads VMS BACKUP tapes

USES=		zip:infozip
ALL_TARGET=	vmsbackup
NO_WRKSUBDIR=	yes
PLIST_FILES=	bin/vmsbackup man/man1/vmsbackup.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's#"getopt.h"#<unistd.h>#' ${WRKSRC}/getoptmain.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/vmsbackup ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/vmsbackup.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud