Fix packaging.

Approved by:	bapt (maintainer)
This commit is contained in:
Guido Falsi 2013-09-23 12:25:22 +00:00
parent a9100f8228
commit 6e98d31966
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327987

View file

@ -19,8 +19,8 @@ USE_LDCONFIG= yes
USES= iconv
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
PORTDOCS= how-fuse-works \
kernel.txt
PORTDOCS= libs/how-fuse-works \
libs/kernel.txt
.include <bsd.port.options.mk>
@ -28,7 +28,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${STAGEDIR}${PREFIX}/include/fuse
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/libs
@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/libs
@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS:S/libs\///} ${STAGEDIR}${DOCSDIR}/libs
.endif