mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
58 lines
1.3 KiB
Makefile
58 lines
1.3 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= 0.81
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc net elisp
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
MAINTAINER= m.boyarov@bsd.by
|
|
COMMENT= DictEm is a dict client for [X]Emacs
|
|
|
|
USE_EMACS= yes
|
|
|
|
EMACS_PORT_NAME?=emacs21
|
|
|
|
.if ${EMACS_PORT_NAME} != "emacs21"
|
|
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
|
|
.endif
|
|
|
|
PLIST_FILES+= ${LISPDIR}/dictem.el \
|
|
${LISPDIR}/dictem.elc
|
|
PLIST_DIRS+= ${LISPDIR}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PORTDOCS+= README AUTHORS NEWS ChangeLog COPYING
|
|
|
|
.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>
|