1995-04-19 04:30:22 +02:00
|
|
|
# New ports collection makefile for: vmsbackup
|
|
|
|
# Date created: 18 Apr 1994
|
|
|
|
# Whom: Jonathan M. Bresler (jmb)
|
1998-08-23 09:34:47 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1995-04-19 04:30:22 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= vmsbackup
|
2005-10-12 20:49:14 +02:00
|
|
|
PORTVERSION= 4.1.1
|
1996-11-12 03:19:40 +01:00
|
|
|
CATEGORIES= emulators sysutils
|
2005-10-18 15:57:37 +02:00
|
|
|
MASTER_SITES= http://dl.droso.net/FreeBSD/distfiles/ \
|
|
|
|
http://freebsd.t-hosting.hu/vmsbackup/ \
|
|
|
|
${MASTER_SITE_LOCAL:S/$/erwin\//}
|
2005-10-12 20:49:14 +02:00
|
|
|
DISTNAME= VMSBACKUP4-1-1
|
|
|
|
EXTRACT_SUFX= .ZIP
|
1995-04-19 04:30:22 +02:00
|
|
|
|
2005-10-10 01:43:32 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Reads VMS BACKUP tapes
|
1995-04-19 04:30:22 +02:00
|
|
|
|
2005-10-12 20:49:14 +02:00
|
|
|
EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
ALL_TARGET= vmsbackup
|
2005-10-10 01:43:32 +02:00
|
|
|
|
2004-02-05 21:38:07 +01:00
|
|
|
PLIST_FILES= bin/vmsbackup
|
2005-10-12 20:49:14 +02:00
|
|
|
MAN1= vmsbackup.1
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
unzip ${DISTDIR}/${DISTNAME} -d ${WRKSRC}
|
2005-03-12 09:31:14 +01:00
|
|
|
|
|
|
|
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
|
1995-04-19 04:30:22 +02:00
|
|
|
|
2005-10-12 20:49:14 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vmsbackup ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
|
|
|
|
|
2010-04-18 20:58:20 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 900000
|
|
|
|
BROKEN= does not build
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|