1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/editors/semi/Makefile
MANTANI Nobutaka 0e9ee35bf1 * Change lisp directory from EMACS_SITE_LISPDIR to EMACS_VERSION_SITE_LISPDIR.
* Remove unnecessary @rmtry from pkg-plist.
* Bump PORTREVISION because of plist change.

PR:		228721
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2018-06-10 14:29:44 +00:00

59 lines
1.4 KiB
Makefile

# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
# $FreeBSD$
PORTNAME= semi
PORTVERSION= ${SEMI_VER}
PORTREVISION= 21
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_VERSION_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>