Use PORTDOCS.

PR:		81129
Submitted by:	Renato Botelho (maintainer)
This commit is contained in:
Roman Bogorodskiy 2005-05-17 13:06:54 +00:00
parent 637d3b46f7
commit 778d878333
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135466
2 changed files with 13 additions and 15 deletions

View file

@ -23,9 +23,17 @@ CONFLICTS= libslang2-2.*
ALL_TARGET= all elf
INSTALL_TARGET= install install-elf
.if !defined(NOPORTDOCS)
post-install:
cd ${WRKSRC}/src && ${MAKE} install_docs
DOCSDIR= ${PREFIX}/share/doc/slang
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}/src && ${MAKE} install_docs
.endif
.include <bsd.port.post.mk>

View file

@ -1,16 +1,6 @@
@comment $FreeBSD$
include/slang.h
include/slcurses.h
lib/libslang.a
lib/libslang.so
lib/libslang.so.1
%%PORTDOCS%%share/doc/slang/COPYING
%%PORTDOCS%%share/doc/slang/COPYING.ART
%%PORTDOCS%%share/doc/slang/COPYING.GPL
%%PORTDOCS%%share/doc/slang/COPYRIGHT
%%PORTDOCS%%share/doc/slang/changes.txt
%%PORTDOCS%%share/doc/slang/cref.txt
%%PORTDOCS%%share/doc/slang/cslang.txt
%%PORTDOCS%%share/doc/slang/slang.txt
%%PORTDOCS%%share/doc/slang/slangdoc.html
%%PORTDOCS%%share/doc/slang/slangfun.txt
%%PORTDOCS%%@dirrm share/doc/slang