diff options
-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 |