diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-08-26 04:25:09 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-08-26 04:25:09 +0000 |
commit | b7b76648176e695d2a7d3c69b24d6d766fd6ab40 (patch) | |
tree | 31571eb3d60cb1141d373be6dc45158b24b6748d /security/pxytest | |
parent | 32e20d1ad83835a5605809264e689ec0b6979f79 (diff) | |
download | ports-b7b76648176e695d2a7d3c69b24d6d766fd6ab40.tar.gz ports-b7b76648176e695d2a7d3c69b24d6d766fd6ab40.zip |
- Fix MASTER_SITES
- Cleanup
PR: 160145
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=280474
Diffstat (limited to 'security/pxytest')
-rw-r--r-- | security/pxytest/Makefile | 25 | ||||
-rw-r--r-- | security/pxytest/distinfo | 4 |
2 files changed, 15 insertions, 14 deletions
diff --git a/security/pxytest/Makefile b/security/pxytest/Makefile index 621e81c6cf9e..d07a37459712 100644 --- a/security/pxytest/Makefile +++ b/security/pxytest/Makefile @@ -8,31 +8,32 @@ PORTNAME= pxytest PORTVERSION= 1.36 CATEGORIES= security -MASTER_SITES= http://www.unicom.com/sw/pxytest/ -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 proxies -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= pxytest.1 PLIST_FILES= bin/pxytest -pre-patch: - @${SED} '1s:^#!/usr/bin/perl:#!${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/pxytest +post-patch: + @${REINPLACE_CMD} -e \ + 's:^#!.*:#!${PERL}:' ${WRKSRC}/${PORTNAME} do-build: - @pod2man ${WRKSRC}/pxytest > ${WRKSRC}/pxytest.1 + @cd ${WRKSRC} && pod2man ${PORTNAME} > ${PORTNAME}.1 do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/pxytest ${PREFIX}/bin/ - @${INSTALL_MAN} ${WRKSRC}/pxytest.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/security/pxytest/distinfo b/security/pxytest/distinfo index 167719045e3d..068333ed769a 100644 --- a/security/pxytest/distinfo +++ b/security/pxytest/distinfo @@ -1,2 +1,2 @@ -SHA256 (pxytest) = a86a15f1684091e95c1afadc8bfb40d6bd54e20af6364bfdc697938aa94715c9 -SIZE (pxytest) = 48040 +SHA256 (pxytest-1.36.gz) = bdcd2d1f8260c6cfd3db6f32188b79732533c1b31160f2ad7e8341c6c0ca67a1 +SIZE (pxytest-1.36.gz) = 16766 |