pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/nxml-mode user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/35f154a63683
branches: trunk
changeset: 561186:35f154a63683
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 20:59:43 2009 +0000
description:
user-destdir support
diffstat:
textproc/nxml-mode/Makefile | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diffs (40 lines):
diff -r 340cd17b0435 -r 35f154a63683 textproc/nxml-mode/Makefile
--- a/textproc/nxml-mode/Makefile Tue Jul 07 20:59:08 2009 +0000
+++ b/textproc/nxml-mode/Makefile Tue Jul 07 20:59:43 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/10/14 00:19:30 uebayasi Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/07 20:59:43 joerg Exp $
DISTNAME= nxml-mode-20041004
PKGREVISION= 1
@@ -9,21 +9,22 @@
HOMEPAGE= http://www.thaiopensource.com/nxml-mode/
COMMENT= Major mode for editing XML documents for emacs
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= yes
USE_TOOLS+= makeinfo
EMACS_VERSIONS_ACCEPTED= emacs22 emacs22nox emacs21 emacs21nox
MESSAGE_SUBST+= LISPDIR=${EMACS_LISPPREFIX:Q}
-INSTALLATION_DIRS= ${EMACS_LISPPREFIX:Q}/nxml-mode ${EMACS_INFOPREFIX:Q}
+INSTALLATION_DIRS= ${EMACS_LISPPREFIX:Q}/nxml-mode/schema \
+ ${EMACS_LISPPREFIX:Q}/nxml-mode/char-name/unicode ${EMACS_INFOPREFIX:Q}
do-install:
- ${INSTALL_DATA} ${WRKSRC}/*.el* ${EMACS_LISPPREFIX:Q}/nxml-mode
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX:Q}/nxml-mode/schema
- ${INSTALL_DATA} ${WRKSRC}/schema/*.rnc ${EMACS_LISPPREFIX:Q}/nxml-mode/schema
- ${INSTALL_DATA} ${WRKSRC}/schema/*.xml ${EMACS_LISPPREFIX:Q}/nxml-mode/schema
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX:Q}/nxml-mode/char-name/unicode
- ${INSTALL_DATA} ${WRKSRC}/char-name/unicode/*.el ${EMACS_LISPPREFIX:Q}/nxml-mode/char-name/unicode
- ${INSTALL_DATA} ${WRKSRC}/nxml-mode.info ${EMACS_INFOPREFIX:Q}
+ ${INSTALL_DATA} ${WRKSRC}/*.el* ${DESTDIR}${EMACS_LISPPREFIX:Q}/nxml-mode
+ ${INSTALL_DATA} ${WRKSRC}/schema/*.rnc ${DESTDIR}${EMACS_LISPPREFIX:Q}/nxml-mode/schema
+ ${INSTALL_DATA} ${WRKSRC}/schema/*.xml ${DESTDIR}${EMACS_LISPPREFIX:Q}/nxml-mode/schema
+ ${INSTALL_DATA} ${WRKSRC}/char-name/unicode/*.el ${DESTDIR}${EMACS_LISPPREFIX:Q}/nxml-mode/char-name/unicode
+ ${INSTALL_DATA} ${WRKSRC}/nxml-mode.info ${DESTDIR}${EMACS_INFOPREFIX:Q}
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index