diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2006-06-01 21:11:04 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2006-06-01 21:11:04 +0000 |
commit | 6021ddc4201f3168c0120b29f07c1a4732de6b21 (patch) | |
tree | edc1ee579e8ad837a82e7d02f9abb07911b5c541 /textproc/tdtd.el | |
parent | c48f65a795fc77272bc795700a3e5ed12ef1d869 (diff) | |
download | ports-6021ddc4201f3168c0120b29f07c1a4732de6b21.tar.gz ports-6021ddc4201f3168c0120b29f07c1a4732de6b21.zip |
Notes
Diffstat (limited to 'textproc/tdtd.el')
-rw-r--r-- | textproc/tdtd.el/Makefile | 28 | ||||
-rw-r--r-- | textproc/tdtd.el/pkg-message | 3 | ||||
-rw-r--r-- | textproc/tdtd.el/pkg-plist | 10 |
3 files changed, 22 insertions, 19 deletions
diff --git a/textproc/tdtd.el/Makefile b/textproc/tdtd.el/Makefile index 61bb8bc3a9f1..1d8726d3a536 100644 --- a/textproc/tdtd.el/Makefile +++ b/textproc/tdtd.el/Makefile @@ -7,7 +7,8 @@ PORTNAME= tdtd.el PORTVERSION= 0.7.1 -CATEGORIES= textproc +PORTREVISION= 1 +CATEGORIES= textproc elisp MASTER_SITES= http://www.menteith.com/tdtd/data/ DISTNAME= tdtd071 EXTRACT_SUFX= .zip @@ -15,25 +16,28 @@ EXTRACT_SUFX= .zip MAINTAINER= ports@FreeBSD.org COMMENT= An emacs major mode for editing SGML and XML DTDs -USE_EMACS= yes -EMACS_PORT_NAME?= emacs20 - -EMACS_NO_BUILD_DEPENDS= YES - NO_WRKSUBDIR= yes NO_BUILD= yes USE_ZIP= yes ELISPDIR= ${PREFIX}/share/emacs/site-lisp -DOCDIR= ${PREFIX}/share/doc +XELISPDIR= ${PREFIX}/lib/xemacs/site-lisp +PORTDOCS= TODO changelog.txt dot_emacs readme.txt tutorial.txt do-install: - ${MKDIR} ${ELISPDIR} - ${MKDIR} ${DOCDIR}/${PORTNAME} - @(cd ${WRKSRC} && \ - ${INSTALL_DATA} tdtd.el tdtd-font.el ${ELISPDIR} && \ - ${INSTALL_DATA} TODO changelog.txt dot_emacs readme.txt tutorial.txt ${DOCDIR}/${PORTNAME} \ + ${MKDIR} ${ELISPDIR} ${XELISPDIR} + @(cd ${WRKSRC}; \ + for el in tdtd.el tdtd-font.el; do \ + ${INSTALL_DATA} $$el ${ELISPDIR}; \ + ${LN} -sf ${ELISPDIR}/$$el ${XELISPDIR}; \ + done; \ ) +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +.endfor +.endif post-install: @${CAT} ${PKGMESSAGE} diff --git a/textproc/tdtd.el/pkg-message b/textproc/tdtd.el/pkg-message index 49227f495931..b7f337701f8e 100644 --- a/textproc/tdtd.el/pkg-message +++ b/textproc/tdtd.el/pkg-message @@ -1,5 +1,6 @@ **************************************************************************** -To use dtd-mode, add to your ~/.emacs the following lines: +To use dtd-mode, add to your ~/.emacs or ~/.xemacs/init.el the following +lines: ;; DTD mode (autoload 'dtd-mode "tdtd" "Major mode for SGML and XML DTDs." t) diff --git a/textproc/tdtd.el/pkg-plist b/textproc/tdtd.el/pkg-plist index 26ecbeb01f00..4c1519b1a028 100644 --- a/textproc/tdtd.el/pkg-plist +++ b/textproc/tdtd.el/pkg-plist @@ -1,8 +1,6 @@ share/emacs/site-lisp/tdtd.el share/emacs/site-lisp/tdtd-font.el -share/doc/tdtd.el/TODO -share/doc/tdtd.el/changelog.txt -share/doc/tdtd.el/dot_emacs -share/doc/tdtd.el/readme.txt -share/doc/tdtd.el/tutorial.txt -@dirrm share/doc/tdtd.el +lib/xemacs/site-lisp/tdtd.el +lib/xemacs/site-lisp/tdtd-font.el +@dirrmtry lib/xemacs/site-lisp +@dirrmtry lib/xemacs |