a3cc513bfc
- Convert USE_EMACS to USES=emacs - Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and editors/emacs-devel) - Permit default Emacs flavor to be specified in make.conf - Rename japanese/migemo-emacs23 to japanese/migemo-emacs - Update and simplify audio/emms and fix build on FreeBSD 10 [1] - Update databases/bbdd and fix build on FreeBSD 10 [1] - Update editors/emacs-devel - Ensure Makefile shell commands that change directory are executed in a subshell - Silence some portlint warnings [1] By not depending on base texinfo PR: 225404 Reviewed by: antoine Approved by: portmgr (mat) ashish (maintainer) Differential Revision: https://reviews.freebsd.org/D13506
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# Created by: Dryice Liu <dryice@liu.com.cn>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= emacs-wiki
|
|
PORTVERSION= 2.72
|
|
PORTREVISION= 10
|
|
CATEGORIES= textproc elisp
|
|
MASTER_SITES= http://www.mwolson.org/static/dist/emacs-wiki/ \
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= dryice@FreeBSD.org
|
|
COMMENT= Create and use hyperlinks and simple formatting in plain text files
|
|
|
|
RUN_DEPENDS= xml-parse.el${EMACS_PKGNAMESUFFIX}>0:textproc/xml-parse.el@${EMACS_FLAVOR}
|
|
RUN_DEPENDS= htmlize.el${EMACS_PKGNAMESUFFIX}>0:textproc/htmlize.el@${EMACS_FLAVOR}
|
|
|
|
USES= emacs makeinfo
|
|
|
|
OPTIONS_DEFINE= CONTRIB
|
|
CONTRIB_DESC= Install extra packages. This can shadow versions already there.
|
|
OPTIONS_SUB= yes
|
|
|
|
INFO= emacs-wiki
|
|
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
|
|
|
do-build:
|
|
(cd ${WRKSRC}; makeinfo --no-split emacs-wiki.texi)
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${LISPDIR}
|
|
.for i in *.el
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${LISPDIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/emacs-wiki.info ${STAGEDIR}${PREFIX}/info
|
|
|
|
do-install-CONTRIB-on:
|
|
${MKDIR} ${STAGEDIR}${LISPDIR}/contrib
|
|
.for i in *.el
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${LISPDIR}/contrib
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|