diff options
Diffstat (limited to 'devel/py-optik/Makefile')
-rw-r--r-- | devel/py-optik/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/py-optik/Makefile b/devel/py-optik/Makefile index ca66f99ffe2..2acd09e0efc 100644 --- a/devel/py-optik/Makefile +++ b/devel/py-optik/Makefile @@ -29,7 +29,8 @@ do-install: @${SETUP_CMD} install .if !defined(NOPORTDOCS) -DOCSDIR=${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} post-install: @${MKDIR} ${DOCSDIR}/test ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} |