1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix MASTER_SITES

- Cleanup

PR:		160145
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2011-08-26 04:25:09 +00:00
parent 32e20d1ad8
commit b7b7664817
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280474
2 changed files with 15 additions and 14 deletions

View File

@ -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>

View File

@ -1,2 +1,2 @@
SHA256 (pxytest) = a86a15f1684091e95c1afadc8bfb40d6bd54e20af6364bfdc697938aa94715c9
SIZE (pxytest) = 48040
SHA256 (pxytest-1.36.gz) = bdcd2d1f8260c6cfd3db6f32188b79732533c1b31160f2ad7e8341c6c0ca67a1
SIZE (pxytest-1.36.gz) = 16766