mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- use DOCSDIR
- fix plist for -DNOPORTDOCS - bump PORTREVISION Approved by: maintainer timeout on QAT BotMail Prompted by: QAT QA run
This commit is contained in:
parent
29da39342a
commit
60e5ca2a92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223180
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= perl2html
|
||||
PORTVERSION= 0.9.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc www
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= apps/www/converters
|
||||
@ -20,9 +21,9 @@ MAN1= perl2html.1
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/share/doc/perl2html
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for file in AUTHORS NEWS README
|
||||
${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/perl2html
|
||||
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
bin/perl2html
|
||||
share/doc/perl2html/AUTHORS
|
||||
share/doc/perl2html/NEWS
|
||||
share/doc/perl2html/README
|
||||
@dirrm share/doc/perl2html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= libviet
|
||||
PORTVERSION= 20010210
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= vietnamese devel
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= obrien
|
||||
@ -26,9 +27,9 @@ do-install:
|
||||
charset.h charseta.h charsetv.h ctype.h portable.h vncompos.h vnkeys.h vntype.h \
|
||||
${PREFIX}/include/viet
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/libviet \
|
||||
&& ${CHMOD} a+rx ${PREFIX}/share/doc/libviet
|
||||
@${INSTALL_MAN} ${WRKSRC}/../README.lib ${PREFIX}/share/doc/libviet
|
||||
@${MKDIR} ${DOCSDIR} \
|
||||
&& ${CHMOD} a+rx ${DOCSDIR}
|
||||
@${INSTALL_MAN} ${WRKSRC}/../README.lib ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -9,6 +9,6 @@ include/viet/portable.h
|
||||
include/viet/vncompos.h
|
||||
include/viet/vnkeys.h
|
||||
include/viet/vntype.h
|
||||
share/doc/libviet/README.lib
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.lib
|
||||
@dirrm include/viet
|
||||
@dirrm share/doc/libviet
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user