aboutsummaryrefslogtreecommitdiff
path: root/textproc/muse/Makefile
blob: 87fb2db17884ea70c0acf11940eddfba68783483 (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
48
49
50
51
52
53
54
55
56
57
58
# New ports collection makefile for:	muse
# Date created:				February 22 2006
# Whom:					Dryice Liu <dryice@dryice.name>
#
# $FreeBSD$
#

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

MAINTAINER=	dryice@dryice.name
COMMENT=	An authoring and publishing environment for Emacs

USE_EMACS=	yes
USE_GMAKE=	yes
EMACS_PORT_NAME?=	emacs21

INFO=		muse

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

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

.if !defined(NOPORTDOCS)
PORTDOCS=	AUTHORS ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 NEWS \
		README scripts COPYING
.endif

post-install:
	${MKDIR} ${LISPDIR}/contrib
.for i in *
	${CP} -R ${WRKSRC}/contrib/${i} ${LISPDIR}/contrib
.endfor

	${MKDIR} ${LISPDIR}/experimental
.for i in *
	${INSTALL_DATA} ${WRKSRC}/experimental/${i} ${LISPDIR}/experimental
.endfor

	${MKDIR} ${EXAMPLESDIR}
.for i in *
	${CP} -R ${WRKSRC}/examples/${i} ${EXAMPLESDIR}
.endfor

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${CP} -R ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>