1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Respect PORTDOCS and also pet portlint

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-10-22 05:02:16 +00:00
parent 1bb05ce0f5
commit ba102d4b06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284087
2 changed files with 10 additions and 4 deletions

View File

@ -21,7 +21,13 @@ MAKE_JOBS_UNSAFE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf
MAN1= epm.1 epminstall.1 mkepmlist.1 setup.1
MAN5= epm.list.5 setup.types.5
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>

View File

@ -1,7 +1,7 @@
bin/epm
bin/epminstall
bin/mkepmlist
%%DOCSDIR%%/COPYING
%%DOCSDIR%%/README
%%DOCSDIR%%/epm-book.html
@dirrm %%DOCSDIR%%
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/epm-book.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%