Use stage, convert TEXT_DOCS to PORTDOCS

This commit is contained in:
Baptiste Daroussin 2013-09-23 06:18:37 +00:00
parent 45f72dfab5
commit c6f2eb51a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327935
2 changed files with 11 additions and 20 deletions

View file

@ -19,24 +19,16 @@ USE_LDCONFIG= yes
USES= iconv USES= iconv
CONFIGURE_ARGS= --prefix=${PREFIX} \ CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
TXT_DOCS= how-fuse-works \ PORTDOCS= how-fuse-works \
kernel.txt kernel.txt
MAN1= fusermount.1 \
ulockmgr_server.1
MAN8= mount.fuse.8
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
post-install: post-install:
${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${PREFIX}/include/fuse ${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${STAGEDIR}${PREFIX}/include/fuse
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/libs @${MKDIR} ${STAGEDIR}${DOCSDIR}/libs
.for i in ${TXT_DOCS} @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/libs
@${INSTALL_DATA} ${WRKSRC}/doc/$i ${DOCSDIR}/libs
.endfor
.endif .endif

View file

@ -1,25 +1,24 @@
include/fuse.h
include/fuse/cuse_lowlevel.h include/fuse/cuse_lowlevel.h
include/fuse/fuse.h include/fuse/fuse.h
include/fuse/fuse_compat.h
include/fuse/fuse_common.h include/fuse/fuse_common.h
include/fuse/fuse_common_compat.h include/fuse/fuse_common_compat.h
include/fuse/fuse_compat.h
include/fuse/fuse_kernel.h
include/fuse/fuse_lowlevel.h include/fuse/fuse_lowlevel.h
include/fuse/fuse_lowlevel_compat.h include/fuse/fuse_lowlevel_compat.h
include/fuse/fuse_opt.h include/fuse/fuse_opt.h
include/fuse/fuse_kernel.h
include/fuse.h
include/ulockmgr.h include/ulockmgr.h
lib/libfuse.a lib/libfuse.a
lib/libfuse.la lib/libfuse.la
lib/libfuse.so lib/libfuse.so
lib/libfuse.so.2 lib/libfuse.so.2
lib/libulockmgr.la
lib/libulockmgr.a lib/libulockmgr.a
lib/libulockmgr.la
lib/libulockmgr.so lib/libulockmgr.so
lib/libulockmgr.so.1 lib/libulockmgr.so.1
libdata/pkgconfig/fuse.pc libdata/pkgconfig/fuse.pc
man/man1/fusermount.1.gz
man/man1/ulockmgr_server.1.gz
man/man8/mount.fuse.8.gz
@dirrm include/fuse @dirrm include/fuse
%%PORTDOCS%%%%DOCSDIR%%/libs/how-fuse-works
%%PORTDOCS%%%%DOCSDIR%%/libs/kernel.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%/libs
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%