diff options
Diffstat (limited to 'accessibility/eflite/Makefile')
-rw-r--r-- | accessibility/eflite/Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/accessibility/eflite/Makefile b/accessibility/eflite/Makefile index db78b197da01..a9d3dbe44a07 100644 --- a/accessibility/eflite/Makefile +++ b/accessibility/eflite/Makefile @@ -12,7 +12,6 @@ COMMENT= Speech server for Festival Lite used by yasr and Emacspeak BUILD_DEPENDS= flite:${PORTSDIR}/audio/flite RUN_DEPENDS= flite:${PORTSDIR}/audio/flite -NO_STAGE= yes USES= gmake GNU_CONFIGURE= yes ALL_TARGET= eflite @@ -47,15 +46,8 @@ post-patch: @${REINPLACE_CMD} -e 's|/etc/es\.conf|${PREFIX}/etc/es.conf|;s|sockname|socketfile|g' ${WRKSRC}/INSTALL post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor -.endif - ${INSTALL_DATA} ${FILESDIR}/es.conf.sample ${PREFIX}/etc - @if [ ! -f ${PREFIX}/etc/es.conf ]; then \ - ${CP} -p ${PREFIX}/etc/es.conf.sample ${PREFIX}/etc/es.conf ; \ - fi + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/es.conf.sample ${STAGEDIR}${PREFIX}/etc .include <bsd.port.mk> |