freebsd-ports/textproc/tdtd.el/Makefile
Andrey Slusar 6021ddc420 - Add port to `elisp' virtual category.
- Add support NOPORTDOCS and DOCSDIR
- Remove USE_EMACS and EMACS_PORT_NAME for support all emacsen, add
  symlinks to xemacs load dir.
- Bump PORTREVISION.
2006-06-01 21:11:04 +00:00

46 lines
992 B
Makefile

# New ports collection makefile for: tdtd.el
# Date created: 15 September 2000
# Whom: Leo Kim <leo@florida.sarang.net>
#
# $FreeBSD$
#
PORTNAME= tdtd.el
PORTVERSION= 0.7.1
PORTREVISION= 1
CATEGORIES= textproc elisp
MASTER_SITES= http://www.menteith.com/tdtd/data/
DISTNAME= tdtd071
EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= An emacs major mode for editing SGML and XML DTDs
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_ZIP= yes
ELISPDIR= ${PREFIX}/share/emacs/site-lisp
XELISPDIR= ${PREFIX}/lib/xemacs/site-lisp
PORTDOCS= TODO changelog.txt dot_emacs readme.txt tutorial.txt
do-install:
${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}
.include <bsd.port.mk>