diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/fbdesk/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/x11/fbdesk/Makefile b/x11/fbdesk/Makefile index 5096d196b582..cad2998c2ea7 100644 --- a/x11/fbdesk/Makefile +++ b/x11/fbdesk/Makefile @@ -26,7 +26,6 @@ GNU_CONFIGURE= yes PORTDOCS= ChangeLog INSTALL README PLIST_FILES= bin/fbdesk -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MIMLIB2} @@ -37,10 +36,8 @@ CONFIGURE_ARGS+= --disable-imlib2 post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |