aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/tdtd.el/Makefile
blob: 1d8726d3a53669e7bedde41a4b1829b2c8f44f37 (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
# 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>