freebsd-ports/textproc/muse/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Dryice Liu <dryice@dryice.name>
# $FreeBSD$
PORTNAME= muse
2011-05-26 11:11:03 +02:00
PORTVERSION= 3.20
2015-04-27 12:29:27 +02:00
PORTREVISION= 10
CATEGORIES= textproc elisp
MASTER_SITES= http://download.gna.org/muse-el/ \
LOCAL/dryice \
http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Authoring and publishing environment for Emacs
USE_EMACS= yes
USES= gmake makeinfo
INFO= muse
LISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
PORTDOCS= AUTHORS ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 NEWS \
README scripts COPYING
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${LISPDIR}/contrib
(cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${LISPDIR})
${INSTALL_DATA} ${WRKSRC}/experimental/* \
${STAGEDIR}${LISPDIR}/experimental
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|scripts||:S|^|${WRKSRC}/|} \
${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} scripts ${STAGEDIR}${DOCSDIR})
.include <bsd.port.pre.mk>
.if ${EMACS_PORT_NAME} != "emacs23"
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
.endif
.include <bsd.port.post.mk>