aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vmsbackup/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-03-12 16:31:14 +0800
committersem <sem@FreeBSD.org>2005-03-12 16:31:14 +0800
commit27b618209c6ac03ee5281efd505dd50b62e6ddea (patch)
tree4e0afbb1283fedbd63139ee38b5a1dd8944ef030 /emulators/vmsbackup/Makefile
parent83180039f9dbf8ca7f31c1526551a71fec7885b9 (diff)
downloadfreebsd-ports-gnome-27b618209c6ac03ee5281efd505dd50b62e6ddea.tar.gz
freebsd-ports-gnome-27b618209c6ac03ee5281efd505dd50b62e6ddea.tar.zst
freebsd-ports-gnome-27b618209c6ac03ee5281efd505dd50b62e6ddea.zip
- Update to 4.0
- pkg-descr reformat, add WWW field PR: ports/78716 Submitted by: Danny Koenig <dako@bsdberlin.org>
Diffstat (limited to 'emulators/vmsbackup/Makefile')
-rw-r--r--emulators/vmsbackup/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/emulators/vmsbackup/Makefile b/emulators/vmsbackup/Makefile
index cce76c89a306..e5ce0105b4f4 100644
--- a/emulators/vmsbackup/Makefile
+++ b/emulators/vmsbackup/Makefile
@@ -6,21 +6,23 @@
#
PORTNAME= vmsbackup
-PORTVERSION= 3.0
+PORTVERSION= 4.0
CATEGORIES= emulators sysutils
-MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/utils/
-# slightly different version
-# MASTER_SITES+= ftp://ftp.uni-passau.de/pub/unix/system/backup/
-DISTNAME= ${PORTNAME}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://www.bsdberlin.org/~dako/distfiles/emulators/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+EXTRACT_SUFX= .tar
-MAINTAINER= ports@FreeBSD.org
+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>