1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Update to 3.6

* Stagify
   * Add LICENSE
   * Use shebangfix
   * Drop the optional RUN_DEPENDS on p5-IO-Socket-INET6 as the
     currently available p5-IO-Socket-SSL-1.962 in ports is new enough
     to obsolete that requirement.

PR:		ports/186210
Submitted by:	fw@moov.de (maintainer)
This commit is contained in:
Matthew Seaman 2014-01-30 23:05:50 +00:00
parent 3dc3a8e920
commit f5c984f658
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341897
2 changed files with 9 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= smtp
PORTVERSION= 3.3
PORTVERSION= 3.6
CATEGORIES= mail perl5
MASTER_SITES= http://www.logix.cz/michal/devel/smtp-cli/
PKGNAMESUFFIX= -cli
@ -11,6 +11,10 @@ EXTRACT_SUFX= -${PORTVERSION}
MAINTAINER= fw@moov.de
COMMENT= Powerful SMTP command line client
LICENSE= GPLv3
USES= shebangfix
RUN_DEPENDS= p5-Digest-HMAC>0:${PORTSDIR}/security/p5-Digest-HMAC \
p5-File-LibMagic>0:${PORTSDIR}/devel/p5-File-LibMagic \
p5-IO-Socket-SSL>0:${PORTSDIR}/security/p5-IO-Socket-SSL \
@ -21,23 +25,13 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}
PLIST_FILES= bin/smtp-cli
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
RUN_DEPENDS+= p5-IO-Socket-INET6>0:${PORTSDIR}/net/p5-IO-Socket-INET6
# won't be needed if p5-IO-Socket-SSL > 1.74_1
.endif
SHEBANG_FILES= smtp-cli
do-extract:
@${MKDIR} ${WRKSRC}/
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${DISTNAME}
post-patch:
@${REINPLACE_CMD} -e '1 s|#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (smtp-cli-3.3) = 4e56e61ef6dca6524fc1018e674823fcac447784f235500219bbedcc4bbff043
SIZE (smtp-cli-3.3) = 31673
SHA256 (smtp-cli-3.6) = 39b902bcb98d0b3d58be04656f6eecbf8bf090d8de7cc4a7bc30dcae71dd0417
SIZE (smtp-cli-3.6) = 33152