mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Support STAGE
Sponsored by: OBS
This commit is contained in:
parent
eaa18aed7c
commit
b82c9f88b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333222
8 changed files with 19 additions and 24 deletions
|
@ -17,7 +17,6 @@ GNU_CONFIGURE= yes
|
||||||
PLIST_FILES= bin/busy bin/hourglass
|
PLIST_FILES= bin/busy bin/hourglass
|
||||||
PORTDOCS= CALIBRATION
|
PORTDOCS= CALIBRATION
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
THREAD_LIBS= -pthread
|
THREAD_LIBS= -pthread
|
||||||
|
@ -32,9 +31,9 @@ post-patch:
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
. for doc in ${PORTDOCS}
|
. for doc in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||||
. endfor
|
. endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,4 @@ COMMENT= Interface to processor (CPU) information
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
MAN3= Unix::Processors.3 Unix::Processors::Info.3
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/Unix/Processors/Info.pm
|
%%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.bs
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors/Processors.so
|
%%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%%/Unix/Processors
|
||||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Unix
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Unix
|
||||||
|
|
|
@ -12,34 +12,34 @@ COMMENT= Tenshi is a log monitoring program, designed to watch multiple logs
|
||||||
RUN_DEPENDS= ${LOCALBASE}/bin/gtail:${PORTSDIR}/sysutils/coreutils \
|
RUN_DEPENDS= ${LOCALBASE}/bin/gtail:${PORTSDIR}/sysutils/coreutils \
|
||||||
p5-IO-BufferedSelect>=0:${PORTSDIR}/devel/p5-IO-BufferedSelect
|
p5-IO-BufferedSelect>=0:${PORTSDIR}/devel/p5-IO-BufferedSelect
|
||||||
|
|
||||||
MAN8= tenshi.8
|
|
||||||
|
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= run build patch
|
USE_PERL5= run build patch
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
USE_RC_SUBR= tenshi
|
USE_RC_SUBR= tenshi
|
||||||
SUB_LIST= PERL=${PERL}
|
SUB_LIST= PERL=${PERL}
|
||||||
|
|
||||||
PLIST_FILES= bin/tenshi etc/tenshi.conf.sample
|
OPTIONS_DEFINE= DOCS
|
||||||
MAN8= tenshi.8
|
|
||||||
|
PLIST_FILES= bin/tenshi etc/tenshi.conf.sample man/man8/tenshi.8.gz
|
||||||
|
|
||||||
PORTDOCS= README Changelog
|
PORTDOCS= README Changelog
|
||||||
|
|
||||||
NO_STAGE= yes
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL5} -pi.bak -e ' \
|
@${PERL5} -pi.bak -e ' \
|
||||||
s"/usr/bin/perl"${PERL}" if $$. == 1; \
|
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"; \
|
s"/usr/bin/tail"${LOCALBASE}/bin/gtail"; \
|
||||||
' ${WRKSRC}/tenshi
|
' ${WRKSRC}/tenshi
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/tenshi ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/tenshi ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_DATA} ${WRKSRC}/tenshi.conf ${PREFIX}/etc/tenshi.conf.sample
|
${INSTALL_DATA} ${WRKSRC}/tenshi.conf ${STAGEDIR}${PREFIX}/etc/tenshi.conf.sample
|
||||||
${INSTALL_MAN} ${WRKSRC}/tenshi.8 ${MAN8PREFIX}/man/man8
|
${INSTALL_MAN} ${WRKSRC}/tenshi.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -12,7 +12,5 @@ COMMENT= A perl script to convert text files to PDF files
|
||||||
|
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
MAN3= PDF::Create.3
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
%%SITE_PERL%%/PDF/Create.pm
|
%%SITE_PERL%%/PDF/Create.pm
|
||||||
%%SITE_PERL%%/PDF/Image/GIF.pm
|
%%SITE_PERL%%/PDF/Image/GIF.pm
|
||||||
%%SITE_PERL%%/PDF/Image/JPEG.pm
|
%%SITE_PERL%%/PDF/Image/JPEG.pm
|
||||||
|
%%PERL5_MAN3%%/PDF::Create.3.gz
|
||||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF/Create
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF/Create
|
||||||
@dirrm %%SITE_PERL%%/PDF/Create
|
@dirrm %%SITE_PERL%%/PDF/Create
|
||||||
@dirrm %%SITE_PERL%%/PDF/Image
|
@dirrm %%SITE_PERL%%/PDF/Image
|
||||||
|
|
|
@ -16,8 +16,4 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= modbuild
|
USE_PERL5= modbuild
|
||||||
|
|
||||||
MAN1= txt2html.1
|
|
||||||
MAN3= HTML::TextToHTML.3
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
bin/txt2html
|
bin/txt2html
|
||||||
%%SITE_PERL%%/HTML/TextToHTML.pm
|
%%SITE_PERL%%/HTML/TextToHTML.pm
|
||||||
|
%%PERL5_MAN3%%/HTML::TextToHTML.3.gz
|
||||||
|
man/man1/txt2html.1.gz
|
||||||
@dirrmtry %%SITE_PERL%%/HTML
|
@dirrmtry %%SITE_PERL%%/HTML
|
||||||
|
|
Loading…
Add table
Reference in a new issue