diff options
author | novel <novel@FreeBSD.org> | 2005-05-17 21:06:54 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2005-05-17 21:06:54 +0800 |
commit | 47f34e0ee677653be96b48d344b479bc3945fb92 (patch) | |
tree | 92a925603e977db27e3887037965b507a0739b00 /devel | |
parent | 750a3c2029e2c6e52ba719050a66fc7a0a48d388 (diff) | |
download | freebsd-ports-gnome-47f34e0ee677653be96b48d344b479bc3945fb92.tar.gz freebsd-ports-gnome-47f34e0ee677653be96b48d344b479bc3945fb92.tar.zst freebsd-ports-gnome-47f34e0ee677653be96b48d344b479bc3945fb92.zip |
Use PORTDOCS.
PR: 81129
Submitted by: Renato Botelho (maintainer)
Diffstat (limited to 'devel')
-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 |