7fc5bd70f3
editors/emacs: - Update to 24.3 - Update CANNA patchset[1] - Unbreak ARM support by using the patch from emacs-devel port - Add missing INSTALLS_ICONS[2] - Remove a patch which is already integrated upstream - Fix Makefile header editors/emacs-devel: - Update to bzr revision 112178 - Fix Makefile header - Add missing INSTALLS_ICONS[2] editors/emacs23: - Remove ABI versions from LIB_DEPENDS - Fix Makefile header - Add missing INSTALLS_ICONS[2] Mk/bsd.emacs.mk: - Update major version for editors/emacs port *: - Bump PORTREVISION to chase Emacs updates PR: ports/177428[2] Submitted by: Yuji TAKANO[1] (via private email), bdrewery[2]
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# New ports collection makefile for: dictem
|
|
# Date created: 24 Apr 2006
|
|
# Whom: Max N. Boyarov <m.boyarov@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dictem
|
|
PORTVERSION= 1.0.2
|
|
PORTREVISION= 11
|
|
CATEGORIES= textproc net elisp
|
|
MASTER_SITES= SF/dictem/dictem/dictem-${PORTVERSION}
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
MAINTAINER= m.boyarov@gmail.com
|
|
COMMENT= DictEm is a dict client for [X]Emacs
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/dict:${PORTSDIR}/textproc/dict
|
|
|
|
USE_EMACS= yes
|
|
|
|
PLIST_FILES+= ${LISPDIR}/dictem.el \
|
|
${LISPDIR}/dictem.elc
|
|
PLIST_DIRS+= ${LISPDIR}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PORTDOCS+= README AUTHORS NEWS ChangeLog COPYING TODO
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${EMACS_NAME} == "xemacs"
|
|
LISPDIR= ${EMACS_LIBDIR}/site-packages/lisp/dictem
|
|
.else
|
|
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/dictem
|
|
.endif
|
|
|
|
do-build:
|
|
${EMACS_CMD} -batch -f batch-byte-compile ${WRKSRC}/dictem.el
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${LISPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dictem.el ${PREFIX}/${LISPDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/dictem.elc ${PREFIX}/${LISPDIR}/
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for doc in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|