Update games/scummvm to version 1.7.0
[dports.git] / textproc / muse / Makefile
1 # Created by: Dryice Liu <dryice@dryice.name>
2 # $FreeBSD$
3
4 PORTNAME=       muse
5 PORTVERSION=    3.20
6 PORTREVISION=   8
7 CATEGORIES=     textproc elisp
8 MASTER_SITES=   http://download.gna.org/muse-el/ \
9                 ${MASTER_SITE_LOCAL} \
10                 http://dryice.name/computer/FreeBSD/distfiles/
11 MASTER_SITE_SUBDIR=     dryice
12 PKGNAMESUFFIX=  -${EMACS_PORT_NAME}
13
14 MAINTAINER=     ports@FreeBSD.org
15 COMMENT=        An authoring and publishing environment for Emacs
16
17 USE_EMACS=      yes
18 USES=           gmake makeinfo
19
20 INFO=           muse
21
22 LISPDIR=        ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
23
24 .if !defined(NOPORTDOCS)
25 PORTDOCS=       AUTHORS ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 NEWS \
26                 README scripts COPYING
27 .endif
28
29 NO_STAGE=       yes
30 post-install:
31         ${MKDIR} ${LISPDIR}/contrib
32 .for i in *
33         ${CP} -R ${WRKSRC}/contrib/${i} ${LISPDIR}/contrib
34 .endfor
35
36         ${MKDIR} ${LISPDIR}/experimental
37 .for i in *
38         ${INSTALL_DATA} ${WRKSRC}/experimental/${i} ${LISPDIR}/experimental
39 .endfor
40
41         ${MKDIR} ${EXAMPLESDIR}
42 .for i in *
43         ${CP} -R ${WRKSRC}/examples/${i} ${EXAMPLESDIR}
44 .endfor
45
46 .if !defined(NOPORTDOCS)
47         ${MKDIR} ${DOCSDIR}
48 .for i in ${PORTDOCS}
49         ${CP} -R ${WRKSRC}/${i} ${DOCSDIR}
50 .endfor
51 .endif
52
53 .include <bsd.port.pre.mk>
54
55 .if ${EMACS_PORT_NAME} != "emacs23"
56 PORTNAMESUFFIX= ${PKGNAMESUFFIX}
57 .endif
58
59 .include <bsd.port.post.mk>