summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-27 19:19:14 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-27 19:19:14 +0000
commitd365f6f58c207ae648abbed5e59940a077f9fe28 (patch)
treec95ccb2de76b658d245c39b7eacb51b21f9082f8
parent- use empty() to check if an option is not set (diff)
- Use SAVANNAH macro for MASTER_SITES
- Convert NOPORTDOCS to new options framework PR: ports/169457 Submitted by: sunpoet
-rw-r--r--textproc/texi2html/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/texi2html/Makefile b/textproc/texi2html/Makefile
index c6514c946f5a..63ce4bc53309 100644
--- a/textproc/texi2html/Makefile
+++ b/textproc/texi2html/Makefile
@@ -9,7 +9,7 @@ PORTNAME= texi2html
PORTVERSION= 5.0
PORTEPOCH= 1
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITES= SAVANNAH
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= johans@FreeBSD.org
@@ -53,7 +53,7 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's/^translations.pl/_&/' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/^install-data/s|i18n|&/en.thl|' ${WRKSRC}/Makefile.in
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e 's| install-texinfohtmlDATA||g' ${WRKSRC}/doc/Makefile.in
.endif
@${REINPLACE_CMD} -e '1s|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl