summaryrefslogtreecommitdiff
path: root/mail/rlytest
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-08-26 04:11:50 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-08-26 04:11:50 +0000
commite2fb82481b7a5947612d726843a50d256f9e613a (patch)
treea855bc13283225622d85fe67afb5fe4628026f73 /mail/rlytest
parent- Fix MASTER_SITES (diff)
- Fix MASTER_SITES
PR: 160125 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=280464
Diffstat (limited to 'mail/rlytest')
-rw-r--r--mail/rlytest/Makefile24
-rw-r--r--mail/rlytest/distinfo4
2 files changed, 14 insertions, 14 deletions
diff --git a/mail/rlytest/Makefile b/mail/rlytest/Makefile
index b6b7060e39b0..bc912b8f3705 100644
--- a/mail/rlytest/Makefile
+++ b/mail/rlytest/Makefile
@@ -8,31 +8,31 @@
PORTNAME= rlytest
PORTVERSION= 1.22
CATEGORIES= mail security
-MASTER_SITES= http://www.unicom.com/sw/rlytest/
-DISTNAME= ${PORTNAME}
-EXTRACT_SUFX=
-EXTRACT_ONLY= # defined
+MASTER_SITES= http://www.unicom.com/files/
+EXTRACT_SUFX= .gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Test remote system for unsecured mail relay
-BROKEN= does not fetch
-
-USE_PERL5= yes
+EXTRACT_CMD= ${GZIP_CMD}
+EXTRACT_BEFORE_ARGS= -dc
+EXTRACT_AFTER_ARGS= > ${WRKDIR}/${PORTNAME}
NO_WRKSUBDIR= yes
+USE_PERL5_RUN= yes
+
MAN1= rlytest.1
PLIST_FILES= bin/rlytest
-pre-patch:
- @${SED} '1s:^#!/usr/local/bin/perl:#!${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/rlytest
+post-patch:
+ @${REINPLACE_CMD} -e 's|^#!.*|#!${PERL}|' ${WRKSRC}/${PORTNAME}
do-build:
- @pod2man ${WRKSRC}/rlytest > ${WRKSRC}/rlytest.1
+ @cd ${WRKSRC} && pod2man ${PORTNAME} > ${PORTNAME}.1
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/rlytest ${PREFIX}/bin/
- @${INSTALL_MAN} ${WRKSRC}/rlytest.1 ${PREFIX}/man/man1/
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/mail/rlytest/distinfo b/mail/rlytest/distinfo
index bb185b770315..d230d4602d05 100644
--- a/mail/rlytest/distinfo
+++ b/mail/rlytest/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rlytest) = 36eccdaa983a2a51e45ce77135920f11834ec28ef09cdb0af051712366316a7b
-SIZE (rlytest) = 10278
+SHA256 (rlytest-1.22.gz) = e9897acb931ebfd78c9d0a3c46e281333712f32b4ad9efe5583c6a9f08fbc8c4
+SIZE (rlytest-1.22.gz) = 4378