diff options
author | okazaki <okazaki@FreeBSD.org> | 2003-12-23 12:34:51 +0000 |
---|---|---|
committer | okazaki <okazaki@FreeBSD.org> | 2003-12-23 12:34:51 +0000 |
commit | c07dbfddb176c047808c54adbe0e70ecab896355 (patch) | |
tree | e631af56a3f9098717e068db2b175eeb1ea15701 /editors/nxml/Makefile | |
parent | 217f7af0a5202ba4e20850b7ab6ab6e52cc5891c (diff) | |
download | FreeBSD-ports-c07dbfddb176c047808c54adbe0e70ecab896355.zip FreeBSD-ports-c07dbfddb176c047808c54adbe0e70ecab896355.tar.gz |
Add nxml-emacs21, a major mode for editing XML documents for emacs21.
PR: 58576
Submitted by: Fritz Heinrichmeyer
Diffstat (limited to 'editors/nxml/Makefile')
-rw-r--r-- | editors/nxml/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/editors/nxml/Makefile b/editors/nxml/Makefile new file mode 100644 index 0000000..7f568ca --- /dev/null +++ b/editors/nxml/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: nxml for emacs +# Date created: 26 Oct 2003 +# Whom: Fritz Heinrichmeyer +# +# $FreeBSD$ +# + +PORTNAME= nxml-mode +PORTVERSION= ${NXML_VER} +CATEGORIES= editors elisp +MASTER_SITES= http://www.thaiopensource.com/download/ + +MAINTAINER= fritz.heinrichmeyer@Fernuni-hagen.de +COMMENT= A major mode for editing XML documents for emacs21 + +# distfile version +NXML_VER= 20031031 +NXML_STARTUPEL= nxml-startup.el +EMACS_PORT_NAME=emacs21 + +INFO= nxml-mode +DOCUMENTS= README NEWS VERSION TODO COPYING \ + nxml-mode.xml nxml-mode.rnc test.invalid.xml test.valid.xml +NXML_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/nxml + +post-build: + cd ${WRKSRC}; \ + ${MAKE} nxml-mode.info + +pre-install: + @${MKDIR} ${NXML_LISPDIR} + +do-install: + cd ${INSTALL_WRKSRC}; \ + ${INSTALL_DATA} *.el ${NXML_LISPDIR}; \ + ${INSTALL_DATA} *.elc ${NXML_LISPDIR} +.for DIR in char-name schema + cd ${INSTALL_WRKSRC}; \ + ${FIND} ${DIR} -type d -exec ${MKDIR} ${NXML_LISPDIR}/\{} \; ;\ + ${FIND} ${DIR} -type f -exec ${INSTALL_DATA} \{} ${NXML_LISPDIR}/\{} \; +.endfor + +post-install: + ${INSTALL_DATA} ${INSTALL_WRKSRC}/nxml-mode.info ${PREFIX}/info + install-info ${PREFIX}/info/nxml-mode.info ${PREFIX}/info/dir +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for F in ${DOCUMENTS} + ${INSTALL_DATA} ${INSTALL_WRKSRC}/${F} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> |