diff options
author | miwi <miwi@FreeBSD.org> | 2011-08-26 12:25:09 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-08-26 12:25:09 +0800 |
commit | 0b67a6a81cf6897bc500154c97de8ed41e02d1c9 (patch) | |
tree | ab4b62b6134f00ae97186b362da3117c0cb426c3 /security | |
parent | d16071d4abaed1af0ebc148d7c24ce0371f913f8 (diff) | |
download | freebsd-ports-gnome-0b67a6a81cf6897bc500154c97de8ed41e02d1c9.tar.gz freebsd-ports-gnome-0b67a6a81cf6897bc500154c97de8ed41e02d1c9.tar.zst freebsd-ports-gnome-0b67a6a81cf6897bc500154c97de8ed41e02d1c9.zip |
- Fix MASTER_SITES
- Cleanup
PR: 160145
Submitted by: Ports Fury
Diffstat (limited to 'security')
-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 |