1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/textproc/ibus-el/Makefile
2013-10-04 16:59:14 +00:00

47 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= ibus-el
PORTVERSION= 0.3.2
#PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= textproc elisp
MASTER_SITES= http://www11.atwiki.jp/s-irie/pub/emacs/ibus/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= ume@FreeBSD.org
COMMENT= IBus client for GNU Emacs
RUN_DEPENDS= ibus-daemon:${PORTSDIR}/textproc/ibus \
${PYTHON_SITELIBDIR}/Xlib/X.py:${PORTSDIR}/x11-toolkits/py-xlib
USE_EMACS= yes
USE_PYTHON_RUN= yes
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/doc/COPYING
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/ibus.el \
${EMACS_VERSION_SITE_LISPDIR}/ibus.elc \
libexec/ibus-el-agent
PORTDOCS= README
do-build:
@cd ${WRKSRC} && ${EMACS_CMD} -batch -q -no-site-file -no-init-file \
-f batch-byte-compile ibus.el
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
@${INSTALL_DATA} ${WRKSRC}/ibus.el \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
@${INSTALL_DATA} ${WRKSRC}/ibus.elc \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
@${INSTALL_SCRIPT} ${WRKSRC}/ibus-el-agent \
${STAGEDIR}${PREFIX}/libexec
.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && \
${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>