summaryrefslogtreecommitdiff
path: root/textproc/emacs-muse/Makefile
blob: b9c6084960cd3dc84769544d911dbe15d09b0b2a (plain)
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
# $NetBSD: Makefile,v 1.2 2008/10/11 09:31:58 uebayasi Exp $
#

DISTNAME=	muse-3.11
PKGNAME=	${EMACS_PKGNAME_PREFIX}emacs-${DISTNAME}
CATEGORIES=	textproc editors
MASTER_SITES=	http://download.gna.org/muse-el/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://mwolson.org/projects/EmacsMuse.html
COMMENT=	Publishing environment for Emacs

#LICENSE=	gplv3
USE_LANGUAGES=	# none
USE_TOOLS+=	gmake makeinfo
INFO_FILES=	yes

MAKE_FLAGS+=	-I..
INSTALLATION_DIRS=	share/doc/emacs-muse share/examples/emacs-muse

pre-build:
	sed -e "s,@PREFIX@,${PREFIX}," -e "s,@LISPDIR@,${EMACS_LISPPREFIX}," \
		-e "s,@EMACS@,${EMACS_BIN}," ${FILESDIR}/Makefile.defs \
		> ${WRKSRC}/Makefile.defs

post-install:
	${INSTALL_DATA} ${WRKSRC}/etc/emacs-wiki-migration.txt \
		${PREFIX}/share/doc/emacs-muse
	${INSTALL_DATA} ${WRKSRC}/etc/muse.rnc \
		${PREFIX}/share/doc/emacs-muse
	${INSTALL_DATA} ${WRKSRC}/examples/QuickStart.muse \
		${PREFIX}/share/examples/emacs-muse
	${INSTALL_DATA} ${WRKSRC}/examples/*.png \
		${PREFIX}/share/examples/emacs-muse

.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"