166b859cb3
- pkg-descr reformat, add WWW field PR: ports/78716 Submitted by: Danny Koenig <dako@bsdberlin.org>
28 lines
723 B
Makefile
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>
|