Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 10:20:38 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337690 - head/news/mail2nntp
Message-ID:  <201312271020.rBRAKcfc073592@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 10:20:38 2013
New Revision: 337690
URL: http://svnweb.freebsd.org/changeset/ports/337690

Log:
  Support stage
  Fix shebang

Modified:
  head/news/mail2nntp/Makefile

Modified: head/news/mail2nntp/Makefile
==============================================================================
--- head/news/mail2nntp/Makefile	Fri Dec 27 10:19:18 2013	(r337689)
+++ head/news/mail2nntp/Makefile	Fri Dec 27 10:20:38 2013	(r337690)
@@ -13,22 +13,18 @@ LICENSE=	GPLv2
 
 RUN_DEPENDS=	p5-NNTPClient>=0:${PORTSDIR}/news/p5-NNTPClient
 
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	run
 NO_BUILD=	yes
+SHEBANG_FILES=	mail2nntp.pl
 
 PORTDOCS=	*
 PLIST_FILES=	bin/mail2nntp.pl
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Changelog ${DOCSDIR}
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Changelog ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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