summaryrefslogtreecommitdiff
path: root/textproc/muse/Makefile
blob: e0cbe3e7fe2772dc3924be842e98acfde5908ec9 (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
59
60
# New ports collection makefile for:	muse
# Date created:				February 22 2006
# Whom:					Dryice Liu <dryice@dryice.name>
#
# $FreeBSD$
#

PORTNAME=	muse
PORTVERSION=	3.12
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=	dryice@FreeBSD.org
COMMENT=	An authoring and publishing environment for Emacs

USE_EMACS=	yes
USE_GMAKE=	yes
EMACS_PORT_NAME?=	emacs22

INFO=		muse

.if ${EMACS_PORT_NAME} != "emacs22"
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>