blob: e5ce0105b4f410429112b5a06794524450c5b14b (
plain) (
tree)
|
|
# 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>
|