mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
c2bccd9690
PR: 55599 Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
41 lines
938 B
Makefile
41 lines
938 B
Makefile
# New ports collection makefile for: dictionary
|
|
# Date created: 23 March 2002
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dictionary
|
|
PORTVERSION= 1.8.5
|
|
CATEGORIES= textproc net elisp
|
|
MASTER_SITES= http://me.in-berlin.de/~myrkr/dictionary/
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A dictionary client for Emacs
|
|
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
|
ELS= connection.el dictionary.el link.el
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; ${EMACS_CMD} -batch -l lpath.el -f batch-byte-compile ${ELS}
|
|
|
|
do-install:
|
|
${MKDIR} ${LISPDIR}
|
|
.for i in ${ELS} *.elc dictionary-init.el
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
|
|
.endfor
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in README
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|