aboutsummaryrefslogtreecommitdiff
path: root/print/yatex/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-04-28 17:41:29 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-04-28 17:41:29 +0000
commitd4215b0008f65c64cfd1c472dfe6afc9657aeb6a (patch)
treeed8c424f40c9c58afd6d0b48e3c89933f567b655 /print/yatex/Makefile
parente237fa61284e3c11f2ac4841579ee42c7ded5bf6 (diff)
downloadports-d4215b0008f65c64cfd1c472dfe6afc9657aeb6a.tar.gz
ports-d4215b0008f65c64cfd1c472dfe6afc9657aeb6a.zip
Notes
Diffstat (limited to 'print/yatex/Makefile')
-rw-r--r--print/yatex/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile
index dfa8fa7db7b2..6b8f63f2127e 100644
--- a/print/yatex/Makefile
+++ b/print/yatex/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: YaTeX
-# Date created: 98/11/17
-# Whom: Satoshi Taoka <taoka@FreeBSD.org>
-#
+# Created by: Satoshi Taoka <taoka@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= yatex
-PORTVERSION= 1.76
+PORTVERSION= 1.77
CATEGORIES?= print elisp
MASTER_SITES= http://www.yatex.org/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -47,6 +43,8 @@ EMACS_PACKAGESDIR=${EMACS_LIBDIR}/site-packages
TARGETNAME= YaTeX
DIRSECTION= The Emacs editor and associated tools
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if (${EMACS_PORT_NAME} == xemacs21)
@@ -115,7 +113,7 @@ do-install:
cd ${WRKSRC}/docs && \
${INSTALL_DATA} ${INFOFILES:S,:, ,g} ${PREFIX}/${INFO_PATH}
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}