blob: ed693cbfdf9b78eb0d97979ee3d2e750dc0ac640 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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= hrs@FreeBSD.org
COMMENT= A major mode for editing XML documents for emacs21
# distfile version
NXML_VER= 20041004
NXML_STARTUPEL= nxml-startup.el
USE_EMACS= yes
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-su-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
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for F in ${DOCUMENTS}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${F} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|