diff options
Diffstat (limited to 'mail/sylpheed2-devel/Makefile')
-rw-r--r-- | mail/sylpheed2-devel/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/sylpheed2-devel/Makefile b/mail/sylpheed2-devel/Makefile index 137ccdd214e9..ed00bca9ba21 100644 --- a/mail/sylpheed2-devel/Makefile +++ b/mail/sylpheed2-devel/Makefile @@ -71,6 +71,11 @@ CONFIGURE_ARGS+=--enable-ssl .else CONFIGURE_ARGS+=--disable-ssl .endif + +MAKEFILES= Makefile.in ac/Makefile.in faq/Makefile.in faq/de/Makefile.in \ + faq/en/Makefile.in faq/es/Makefile.in faq/fr/Makefile.in \ + faq/it/Makefile.in manual/Makefile.in manual/en/Makefile.in \ + manual/ja/Makefile.in src/Makefile.in pre-everything:: @${ECHO} "" @@ -91,6 +96,17 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \ s|-lresolv||g' ${WRKSRC}/configure +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -e 's|^SUBDIRS = ac po intl src manual faq$$|SUBDIRS = ac po intl src|g' \ + ${WRKSRC}/Makefile.in +.else +.for i in ${MAKEFILES} + @${REINPLACE_CMD} -e 's|^faqdir = @faqdir@$$|faqdir = ${DOCSDIR}/faq|g; \ + s|^manualdir = @manualdir@$$|manualdir = ${DOCSDIR}/manual|g' \ + ${WRKSRC}/${i} +.endfor +.endif + pre-build: ${LN} -sf ${LOCALBASE}/bin/${LIBTOOL} ${WRKSRC}/libtool |