aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/muse/Makefile
blob: 8d2c117d4bcaad7f2258576ca4f4889d6626bd68 (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
46
47
# Created by: Dryice Liu <dryice@dryice.name>
# $FreeBSD$

PORTNAME=   muse
PORTVERSION=    3.20
PORTREVISION=   10
CATEGORIES= textproc elisp
MASTER_SITES=   http://download.gna.org/muse-el/ \
        ${MASTER_SITE_LOCAL} \
        http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR= dryice
PKGNAMESUFFIX=  -${EMACS_PORT_NAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Authoring and publishing environment for Emacs

USE_EMACS=  yes
USES=       gmake makeinfo

INFO=       muse

LISPDIR=    ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}

PORTDOCS=   AUTHORS ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 NEWS \
        README scripts COPYING

OPTIONS_DEFINE= DOCS

post-install:
    @${MKDIR} ${STAGEDIR}${LISPDIR}/contrib
    (cd ${WRKSRC} && ${COPYTREE_SHARE} contrib  ${STAGEDIR}${LISPDIR})
    ${INSTALL_DATA} ${WRKSRC}/experimental/* \
        ${STAGEDIR}${LISPDIR}/experimental
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|scripts||:S|^|${WRKSRC}/|} \
        ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${COPYTREE_SHARE} scripts ${STAGEDIR}${DOCSDIR})

.include <bsd.port.pre.mk>

.if ${EMACS_PORT_NAME} != "emacs23"
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
.endif

.include <bsd.port.post.mk>