pkgsrc/textproc/emacs-muse/Makefile

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2013/02/17 19:18:08 dholland Exp $
#
DISTNAME= muse-3.11
PKGNAME= ${EMACS_PKGNAME_PREFIX}emacs-${DISTNAME}
PKGREVISION= 2
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= gnu-gpl-v3
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 \
${DESTDIR}${PREFIX}/share/doc/emacs-muse
${INSTALL_DATA} ${WRKSRC}/etc/muse.rnc \
${DESTDIR}${PREFIX}/share/doc/emacs-muse
${INSTALL_DATA} ${WRKSRC}/examples/QuickStart.muse \
${DESTDIR}${PREFIX}/share/examples/emacs-muse
${INSTALL_DATA} ${WRKSRC}/examples/*.png \
${DESTDIR}${PREFIX}/share/examples/emacs-muse
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"