aboutsummaryrefslogtreecommitdiff
path: root/emulators/vmsbackup
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-10-12 18:49:14 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-10-12 18:49:14 +0000
commitcc449237262c5814dc15e9104834c4cfb90c5211 (patch)
tree84cf64b4dc16451343535cfc9a7dd19b1fce54e9 /emulators/vmsbackup
parent31ad25f891e41e81dce1f8cfa579613e01b8ceb2 (diff)
downloadports-cc449237262c5814dc15e9104834c4cfb90c5211.tar.gz
ports-cc449237262c5814dc15e9104834c4cfb90c5211.zip
Notes
Diffstat (limited to 'emulators/vmsbackup')
-rw-r--r--emulators/vmsbackup/Makefile28
-rw-r--r--emulators/vmsbackup/distinfo4
2 files changed, 19 insertions, 13 deletions
diff --git a/emulators/vmsbackup/Makefile b/emulators/vmsbackup/Makefile
index f5b1d590d57f..772ce128db5d 100644
--- a/emulators/vmsbackup/Makefile
+++ b/emulators/vmsbackup/Makefile
@@ -6,27 +6,33 @@
#
PORTNAME= vmsbackup
-PORTVERSION= 4.0
+PORTVERSION= 4.1.1
CATEGORIES= emulators sysutils
-MASTER_SITES= #
-DISTNAME= ${PORTNAME}-${PORTVERSION}
-EXTRACT_SUFX= .tar
+MASTER_SITES= ftp://ftp.lp.se/free-vms/
+DISTNAME= VMSBACKUP4-1-1
+EXTRACT_SUFX= .ZIP
MAINTAINER= ports@FreeBSD.org
COMMENT= Reads VMS BACKUP tapes
-BROKEN= "distfile disappeared"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE= 2005-12-09
+EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip
+USE_REINPLACE= yes
+ALL_TARGET= vmsbackup
-MAN1= vmsbackup.1
-MANCOMPRESSED= yes
PLIST_FILES= bin/vmsbackup
-MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 -f
-USE_REINPLACE= yes
+MAN1= vmsbackup.1
+MANCOMPRESSED= no
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ unzip ${DISTDIR}/${DISTNAME} -d ${WRKSRC}
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
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/vmsbackup ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+
.include <bsd.port.mk>
diff --git a/emulators/vmsbackup/distinfo b/emulators/vmsbackup/distinfo
index 731a935759d9..4ec233226382 100644
--- a/emulators/vmsbackup/distinfo
+++ b/emulators/vmsbackup/distinfo
@@ -1,2 +1,2 @@
-MD5 (vmsbackup-4.0.tar) = 8474a1b215a6380a00cfccd5c6e4829b
-SIZE (vmsbackup-4.0.tar) = 59392
+MD5 (VMSBACKUP4-1-1.ZIP) = 17082e14a70513b60777b0885dfc69b7
+SIZE (VMSBACKUP4-1-1.ZIP) = 21504