freebsd-ports/textproc/emacs-wiki/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Dryice Liu <dryice@liu.com.cn>
# $FreeBSD$
PORTNAME= emacs-wiki
PORTVERSION= 2.72
PORTREVISION= 12
CATEGORIES= textproc elisp
MASTER_SITES= http://www.mwolson.org/static/dist/emacs-wiki/ \
http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= ports@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_PATH}
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>