freebsd-ports/emulators/vmsbackup/Makefile
Sergey Matveychuk 166b859cb3 - Update to 4.0
- pkg-descr reformat, add WWW field

PR:		ports/78716
Submitted by:	Danny Koenig <dako@bsdberlin.org>
2005-03-12 08:31:14 +00:00

28 lines
723 B
Makefile

# 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>