freebsd-ports/editors/semi/Makefile
Joseph Mingrone a3cc513bfc Flavorize and modernize Emacs ports
- 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
2018-02-01 18:03:09 +00:00

58 lines
1.4 KiB
Makefile

# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
# $FreeBSD$
PORTNAME= semi
PORTVERSION= ${SEMI_VER}
PORTREVISION= 19
CATEGORIES= editors elisp
MASTER_SITES= http://git.chise.org/elisp/dist/semi/semi-1.14-for-flim-1.14/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= SEMI, Library of MIME feature for GNU Emacs for emacs
LICENSE= GPLv2
BUILD_DEPENDS= flim${EMACS_PKGNAMESUFFIX}>0:editors/flim@${EMACS_FLAVOR} \
nkf:japanese/nkf
RUN_DEPENDS= flim${EMACS_PKGNAMESUFFIX}>0:editors/flim@${EMACS_FLAVOR}
USES= emacs makeinfo
NO_ARCH= yes
FLIM_TRUNK= 1.14
SEMI_VER= ${SEMI_TRUNK}.6
SEMI_TRUNK= 1.14
ALL_TARGET= elc
MAKE_ARGS+= PREFIX="${STAGEDIR}${PREFIX}" \
LISPDIR="${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}" \
VERSION_SPECIFIC_LISPDIR="${STAGEDIR}${EMACS_VERSION_SITE_LISPDIR}"
INFO= mime-ui-en mime-ui-ja
OPTIONS_DEFINE= DOCS
post-build:
@(cd ${WRKSRC} ; \
for i in mime-ui-en.texi mime-ui-ja.texi; do \
${CAT} $${i} | nkf -e > $${i}.jis ; \
${MAKEINFO} --no-split --no-validate $${i}.jis ; \
done)
post-install:
@(cd ${WRKSRC} ; \
for i in mime-ui-en.info mime-ui-ja.info; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${STAGEDIR}${PREFIX}/info ; \
done)
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC} ; \
for i in ChangeLog NEWS README.* TODO VERSION ; do \
${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR}/ ; \
done)
.include <bsd.port.mk>