aboutsummaryrefslogtreecommitdiff
path: root/editors/nxml
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-05-02 05:43:40 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-05-02 05:43:40 +0000
commit428e1bf603f2c545696ed4a30cc69b33a1573342 (patch)
treeca03340a1997ed82a8ee6735fcef5e8f020543d3 /editors/nxml
parent9341cd15fced9bd0c6d1bee12e366d644610116f (diff)
downloadports-428e1bf603f2c545696ed4a30cc69b33a1573342.tar.gz
ports-428e1bf603f2c545696ed4a30cc69b33a1573342.zip
Notes
Diffstat (limited to 'editors/nxml')
-rw-r--r--editors/nxml/Makefile14
-rw-r--r--editors/nxml/pkg-plist1
2 files changed, 8 insertions, 7 deletions
diff --git a/editors/nxml/Makefile b/editors/nxml/Makefile
index 4c6f800d364a..2a2d09d9f13f 100644
--- a/editors/nxml/Makefile
+++ b/editors/nxml/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: nxml for emacs
-# Date created: 26 Oct 2003
-# Whom: Fritz Heinrichmeyer
-#
+# Created by: Fritz Heinrichmeyer
# $FreeBSD$
-#
PORTNAME= nxml-mode
PORTVERSION= ${NXML_VER}
@@ -28,6 +24,10 @@ NXML_INSTDIRS= . char-name char-name/unicode schema
NXML_INCLEXP= \.el$$\|\.elc$$\|\.rnc$$\|\.xml$$
NXML_EXCLEXP= nxml-mode.xml\|nxml-mode.rnc\|test.invalid.xml\|test.valid.xml
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
@${MKDIR} ${NXML_INSTDIRS:S,^,${NXML_LISPDIR}/,}
.for D in ${NXML_INSTDIRS}
@@ -39,7 +39,7 @@ do-install:
post-install:
@${INSTALL_DATA} ${INSTALL_WRKSRC}/nxml-mode.info ${PREFIX}/info
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@@ -48,7 +48,7 @@ post-install:
.include <bsd.port.pre.mk>
.if ${EMACS_PORT_NAME} == "emacs23" || ${EMACS_PORT_NAME} == "emacs24"
-IGNORE= incorporated into ${EMACS_PORT_NAME}
+IGNORE= incorporated into ${EMACS_PORT_NAME}
.endif
.include <bsd.port.post.mk>
diff --git a/editors/nxml/pkg-plist b/editors/nxml/pkg-plist
index c409210f6351..a19723a0fcb0 100644
--- a/editors/nxml/pkg-plist
+++ b/editors/nxml/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
%%EMACS_VERSION_SITE_LISPDIR%%/nxml/nxml-enc.el
%%EMACS_VERSION_SITE_LISPDIR%%/nxml/nxml-enc.elc
%%EMACS_VERSION_SITE_LISPDIR%%/nxml/nxml-glyph.el