Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 18:54:39 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367671 - head/net/sendemail
Message-ID:  <201409081854.s88IsdsU030291@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Sep  8 18:54:39 2014
New Revision: 367671
URL: http://svnweb.freebsd.org/changeset/ports/367671
QAT: https://qat.redports.org/buildarchive/r367671/

Log:
  Stage. I know there's an open PR about it, but it hasn't been touched in
  over 18 months, and staging it won't affect the PR (174232).

Modified:
  head/net/sendemail/Makefile

Modified: head/net/sendemail/Makefile
==============================================================================
--- head/net/sendemail/Makefile	Mon Sep  8 18:54:05 2014	(r367670)
+++ head/net/sendemail/Makefile	Mon Sep  8 18:54:39 2014	(r367671)
@@ -12,33 +12,23 @@ DISTNAME=	${PORTNAME}-v${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Lightweight, completely command line based, SMTP email agent
 
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	run
 NO_BUILD=	yes
+SHEBANG_FILES=	${PORTNAME}
 
 PLIST_FILES=	bin/sendEmail
 PORTDOCS=	CHANGELOG README TODO
 
-OPTIONS_DEFINE=	SSL
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	SSL DOCS
 SSL_DESC=	SSL/TLS support for communicating with the SMTP server
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-.if ${PORT_OPTIONS:MSSL}
-RUN_DEPENDS+=	p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
-RUN_DEPENDS+=	p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e "s,/usr/bin/perl,${PERL},g" \
-		${WRKSRC}/${PORTNAME}
+SSL_RUN_DEPENDS=p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \
+		p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay
 
 do-install:
-	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG README TODO ${DOCSDIR}
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409081854.s88IsdsU030291>