mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
bea2b0b802
Please refer to the 20200811 UPDATING entry when upgrading dependent (*-emacs26-*) ports. Port changes: - depend on math/gmp - match upstream by turning CAIRO, HARFBUZZ, and JSON options and on and turning MAGICK off by default - remove OPENMP check for graphics/ImageMagick as the openmp is now included in base - update EMACS_VER in Mk/Uses/emacs.mk - bump USES=emacs ports or remove BROKEN for net-im/jabber.el and deskutils/howm, which now build Submitted by: HIROSE Yuuji <yuuji@gentei.org> (canna patch) Reviewed by: ashish Differential Revision: https://reviews.freebsd.org/D23966
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# Created by: Max N. Boyarov <m.boyarov@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dictem
|
|
PORTVERSION= 1.0.4
|
|
PORTREVISION= 9
|
|
CATEGORIES= textproc net elisp
|
|
MASTER_SITES= SF/dictem/dictem/dictem-${PORTVERSION}
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= max.n.boyarov@gmail.com
|
|
COMMENT= DICT protocol client for [X]Emacs
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/dict:textproc/dict
|
|
|
|
USES= emacs
|
|
|
|
SRC_EL= dictem.el dictem-lingvo-dsl.el dictem-elisp.el
|
|
|
|
.for f in ${SRC_EL}
|
|
PLIST_FILES+= ${LISPDIR}/${f} ${LISPDIR}/${f}c
|
|
.endfor
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PORTDOCS= README AUTHORS NEWS COPYING TODO
|
|
|
|
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/dictem
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${EMACS_CMD} --no-site-file --no-init-file -batch \
|
|
-l compile.el -f compile-dictem ${SRC_EL})
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${LISPDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${SRC_EL} ${SRC_EL:S/.el$/.elc/} \
|
|
${STAGEDIR}${PREFIX}/${LISPDIR}/)
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for doc in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|