aboutsummaryrefslogtreecommitdiff
path: root/mail/sylpheed/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-07-03 15:44:34 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-07-03 15:44:34 +0000
commitcacd9fc917f4826710c73a4782970caae158cfb6 (patch)
tree20e77656a2ad81fe6c333f47127ec0cc0086bf8f /mail/sylpheed/Makefile
parentdca9e1994b28788e9aebdd8b7858e896eaf45305 (diff)
Notes
Diffstat (limited to 'mail/sylpheed/Makefile')
-rw-r--r--mail/sylpheed/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile
index 936ff2837b23..c11c31a9e88d 100644
--- a/mail/sylpheed/Makefile
+++ b/mail/sylpheed/Makefile
@@ -3,9 +3,9 @@
PORTNAME= sylpheed
PORTVERSION= 3.7.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
-MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/ \
+MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
@@ -95,16 +95,16 @@ post-patch:
@${REINPLACE_CMD} -e 's|^\(DEFS.*\.\.\)$$|\1 -I../libsylph|' \
${WRKSRC}/src/Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
+post-patch-DOCS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS = /s/manual faq//' \
${WRKSRC}/Makefile.in
-.else
+
+post-patch-DOCS-on:
.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
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}