aboutsummaryrefslogtreecommitdiff
path: root/mail/sylpheed/Makefile
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-11-23 21:33:32 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-11-23 21:33:32 +0000
commit24c923ed5832cec829c0a33bc6ed250dd320a4c7 (patch)
tree418455cfb1449d840eb8617c82d5a02a7f860d0b /mail/sylpheed/Makefile
parentd582a2294c827537ae84aa93225bfe25654e9e34 (diff)
downloadports-24c923ed5832cec829c0a33bc6ed250dd320a4c7.tar.gz
ports-24c923ed5832cec829c0a33bc6ed250dd320a4c7.zip
Notes
Diffstat (limited to 'mail/sylpheed/Makefile')
-rw-r--r--mail/sylpheed/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile
index 137ccdd214e9..ed00bca9ba21 100644
--- a/mail/sylpheed/Makefile
+++ b/mail/sylpheed/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