mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Remove NOPORTDOCS and NOPORTEXAMPLES.
This commit is contained in:
parent
5fe18e6dba
commit
38c1ceb675
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360501
@ -13,12 +13,12 @@ LICENCE= GPLv2
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/colortail ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,7 +1,7 @@
|
||||
bin/colortail
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/conf.daemon
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/conf.kernel
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/conf.messages
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/conf.secure
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/conf.xferlog
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conf.daemon
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conf.kernel
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conf.messages
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conf.secure
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conf.xferlog
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
|
@ -24,12 +24,12 @@ RUN_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:${PORTSDIR}/e
|
||||
EMACS_NO_BUILD_DEPENDS= YES
|
||||
NO_BUILD= YES
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/elscreen.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ChangeLog README
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -10,6 +10,8 @@ DISTNAME= lazyread-${PORTVERSION}
|
||||
MAINTAINER= mich@FreeBSD.org
|
||||
COMMENT= Lazyread can auto-scroll files on your screen in movie credit fashion
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(/usr/bin/lesspipe.sh)
|
||||
@ -42,9 +44,7 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/lesspipe.sh ${STAGEDIR}${PREFIX}/bin
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -17,10 +17,10 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -2,8 +2,8 @@
|
||||
%%SITE_PERL%%/Business/UPS.pm
|
||||
%%SITE_PERL%%/auto/Business/UPS/autosplit.ix
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS/.packlist
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/test.pl
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.pl
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/UPS
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business
|
||||
@dirrmtry %%SITE_PERL%%/auto/Business/UPS
|
||||
|
@ -18,9 +18,9 @@ JAVA_VERSION= 1.6+
|
||||
|
||||
SUB_FILES= pipe.sh
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS=*
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pipe.sh ${STAGEDIR}${PREFIX}/bin/pipe
|
||||
@ -29,11 +29,9 @@ do-install:
|
||||
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
|
||||
cd ${WRKSRC} && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${WRKSRC}/Docs && \
|
||||
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/javadoc/{} \;
|
||||
cd ${WRKSRC}/Docs && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/javadoc/{} \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,15 +22,15 @@ PYDISTUTILS_AUTOPLIST= yes
|
||||
PORTDOCS= AUTHORS ChangeLog ChangeLog.old README README.daemon pyosd.html
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user