Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 13:35:39 +0000 (UTC)
From:      Philippe Audeoud <jadawin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333222 - in head: sysutils/hourglass sysutils/p5-Unix-Processors sysutils/tenshi textproc/p5-PDF-Create textproc/txt2html
Message-ID:  <201311081335.rA8DZdmT096952@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jadawin
Date: Fri Nov  8 13:35:39 2013
New Revision: 333222
URL: http://svnweb.freebsd.org/changeset/ports/333222

Log:
  - Support STAGE
  
  Sponsored by:	OBS

Modified:
  head/sysutils/hourglass/Makefile
  head/sysutils/p5-Unix-Processors/Makefile
  head/sysutils/p5-Unix-Processors/pkg-plist   (contents, props changed)
  head/sysutils/tenshi/Makefile
  head/textproc/p5-PDF-Create/Makefile
  head/textproc/p5-PDF-Create/pkg-plist   (contents, props changed)
  head/textproc/txt2html/Makefile
  head/textproc/txt2html/pkg-plist   (contents, props changed)

Modified: head/sysutils/hourglass/Makefile
==============================================================================
--- head/sysutils/hourglass/Makefile	Fri Nov  8 13:35:07 2013	(r333221)
+++ head/sysutils/hourglass/Makefile	Fri Nov  8 13:35:39 2013	(r333222)
@@ -17,7 +17,6 @@ GNU_CONFIGURE=	yes
 PLIST_FILES=	bin/busy bin/hourglass
 PORTDOCS=	CALIBRATION
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 THREAD_LIBS=	-pthread
@@ -32,9 +31,9 @@ post-patch:
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 . for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 . endfor
 .endif
 

Modified: head/sysutils/p5-Unix-Processors/Makefile
==============================================================================
--- head/sysutils/p5-Unix-Processors/Makefile	Fri Nov  8 13:35:07 2013	(r333221)
+++ head/sysutils/p5-Unix-Processors/Makefile	Fri Nov  8 13:35:39 2013	(r333222)
@@ -13,7 +13,4 @@ COMMENT=	Interface to processor (CPU) in
 USES=		perl5
 USE_PERL5=	configure
 
-MAN3=		Unix::Processors.3 Unix::Processors::Info.3
-
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/sysutils/p5-Unix-Processors/pkg-plist
==============================================================================
--- head/sysutils/p5-Unix-Processors/pkg-plist	Fri Nov  8 13:35:07 2013	(r333221)
+++ head/sysutils/p5-Unix-Processors/pkg-plist	Fri Nov  8 13:35:39 2013	(r333222)
@@ -3,6 +3,8 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/Unix/Processors/Info.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors/Processors.bs
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors/Processors.so
+%%PERL5_MAN3%%/Unix::Processors.3.gz
+%%PERL5_MAN3%%/Unix::Processors::Info.3.gz
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Unix/Processors
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Unix

Modified: head/sysutils/tenshi/Makefile
==============================================================================
--- head/sysutils/tenshi/Makefile	Fri Nov  8 13:35:07 2013	(r333221)
+++ head/sysutils/tenshi/Makefile	Fri Nov  8 13:35:39 2013	(r333222)
@@ -12,34 +12,34 @@ COMMENT=		Tenshi is a log monitoring pro
 RUN_DEPENDS=		${LOCALBASE}/bin/gtail:${PORTSDIR}/sysutils/coreutils \
 			p5-IO-BufferedSelect>=0:${PORTSDIR}/devel/p5-IO-BufferedSelect
 
-MAN8=			tenshi.8
-
 USES=			perl5
 USE_PERL5=		run build patch
 NO_BUILD=		yes
 USE_RC_SUBR=		tenshi
 SUB_LIST=		PERL=${PERL}
 
-PLIST_FILES=		bin/tenshi etc/tenshi.conf.sample
-MAN8=			tenshi.8
+OPTIONS_DEFINE=		DOCS
+
+PLIST_FILES=		bin/tenshi etc/tenshi.conf.sample man/man8/tenshi.8.gz
 
 PORTDOCS=		README Changelog
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${PERL5} -pi.bak -e ' \
 		s"/usr/bin/perl"${PERL}" if $$. == 1; \
-		s"/etc/tenshi/tenshi\.conf"${PREFIX}/etc/tenshi.conf"; \
+		s"/etc/tenshi/tenshi\.conf"${STAGEDIR}${PREFIX}/etc/tenshi.conf"; \
 		s"/usr/bin/tail"${LOCALBASE}/bin/gtail"; \
 		' ${WRKSRC}/tenshi
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/tenshi ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/tenshi.conf ${PREFIX}/etc/tenshi.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/tenshi.8 ${MAN8PREFIX}/man/man8
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/tenshi ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/tenshi.conf ${STAGEDIR}${PREFIX}/etc/tenshi.conf.sample
+	${INSTALL_MAN} ${WRKSRC}/tenshi.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/textproc/p5-PDF-Create/Makefile
==============================================================================
--- head/textproc/p5-PDF-Create/Makefile	Fri Nov  8 13:35:07 2013	(r333221)
+++ head/textproc/p5-PDF-Create/Makefile	Fri Nov  8 13:35:39 2013	(r333222)
@@ -12,7 +12,5 @@ COMMENT=	A perl script to convert text f
 
 USES=		perl5
 USE_PERL5=	configure
-MAN3=		PDF::Create.3
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/textproc/p5-PDF-Create/pkg-plist
==============================================================================
--- head/textproc/p5-PDF-Create/pkg-plist	Fri Nov  8 13:35:07 2013	(r333221)
+++ head/textproc/p5-PDF-Create/pkg-plist	Fri Nov  8 13:35:39 2013	(r333222)
@@ -6,6 +6,7 @@
 %%SITE_PERL%%/PDF/Create.pm
 %%SITE_PERL%%/PDF/Image/GIF.pm
 %%SITE_PERL%%/PDF/Image/JPEG.pm
+%%PERL5_MAN3%%/PDF::Create.3.gz
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF/Create
 @dirrm %%SITE_PERL%%/PDF/Create
 @dirrm %%SITE_PERL%%/PDF/Image

Modified: head/textproc/txt2html/Makefile
==============================================================================
--- head/textproc/txt2html/Makefile	Fri Nov  8 13:35:07 2013	(r333221)
+++ head/textproc/txt2html/Makefile	Fri Nov  8 13:35:39 2013	(r333222)
@@ -16,8 +16,4 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	modbuild
 
-MAN1=	txt2html.1
-MAN3=	HTML::TextToHTML.3
-
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/textproc/txt2html/pkg-plist
==============================================================================
--- head/textproc/txt2html/pkg-plist	Fri Nov  8 13:35:07 2013	(r333221)
+++ head/textproc/txt2html/pkg-plist	Fri Nov  8 13:35:39 2013	(r333222)
@@ -1,3 +1,5 @@
 bin/txt2html
 %%SITE_PERL%%/HTML/TextToHTML.pm
+%%PERL5_MAN3%%/HTML::TextToHTML.3.gz
+man/man1/txt2html.1.gz
 @dirrmtry %%SITE_PERL%%/HTML



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