diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-05-17 13:06:54 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-05-17 13:06:54 +0000 |
commit | 778d8783335a4929c30b5ac010890abbf65ff615 (patch) | |
tree | e0dd5afc1ec5e676006848a2397162d0bd7b3024 /devel/libslang | |
parent | 637d3b46f711ff1bf992797b7257baa2f97e4a32 (diff) | |
download | ports-778d8783335a4929c30b5ac010890abbf65ff615.tar.gz ports-778d8783335a4929c30b5ac010890abbf65ff615.zip |
Notes
Diffstat (limited to 'devel/libslang')
-rw-r--r-- | devel/libslang/Makefile | 14 | ||||
-rw-r--r-- | devel/libslang/pkg-plist | 12 |
2 files changed, 12 insertions, 14 deletions
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile index 4eb22e1fa991..19011f44e2f7 100644 --- a/devel/libslang/Makefile +++ b/devel/libslang/Makefile @@ -23,9 +23,17 @@ CONFLICTS= libslang2-2.* ALL_TARGET= all elf INSTALL_TARGET= install install-elf -.if !defined(NOPORTDOCS) +DOCSDIR= ${PREFIX}/share/doc/slang + +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +.include <bsd.port.pre.mk> + post-install: - cd ${WRKSRC}/src && ${MAKE} install_docs +.if !defined(NOPORTDOCS) + @cd ${WRKSRC}/src && ${MAKE} install_docs .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/libslang/pkg-plist b/devel/libslang/pkg-plist index 9a8f1786ef5a..4763c9570ee8 100644 --- a/devel/libslang/pkg-plist +++ b/devel/libslang/pkg-plist @@ -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 |