1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/graphics/xface.el/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

71 lines
1.8 KiB
Makefile

# New ports collection makefile for: x-face.el
# Date created: 17 Feb 2002
# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xface.el
PORTVERSION= 1.3.6.24
PORTREVISION= 7
CATEGORIES= graphics elisp
MASTER_SITES= http://www.jpl.org/ftp/pub/elisp/ \
ftp://ftp.jpl.org/pub/elisp/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= x-face-${PORTVERSION}
DISTFILES= ${DISTNAME}.tar.gz \
x-face-e21.el.gz
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= yoichi@FreeBSD.org
COMMENT= X-Face encoder/decoder/viewer for Emacsen
RUN_DEPENDS= compface:${PORTSDIR}/mail/faces
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
LISP_FILES= x-face
.if (${EMACS_PORT_NAME} == emacs21)
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/x-face
LISP_FILES+= x-face-e21
PLIST_SUB+= E21_ONLY="" \
XEMACS_ONLY="@comment "
.elif (${EMACS_PORT_NAME} == xemacs21 || ${EMACS_PORT_NAME} == xemacs21-mule)
LISPDIR= ${EMACS_SITE_LISPDIR}/x-face
LISP_FILES+= x-face-xmas
PLIST_SUB+= E21_ONLY="@comment " \
XEMACS_ONLY=""
.else
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/x-face
PLIST_SUB+= E21_ONLY="@comment " \
XEMACS_ONLY="@comment "
.endif
PLIST_SUB+= LISPDIR=${LISPDIR} \
DOCSDIR=share/doc/${PORTNAME}
post-extract:
.if (${EMACS_PORT_NAME} == emacs21)
${CP} ${DISTDIR}/x-face-e21.el.gz ${WRKSRC}
${GUNZIP_CMD} ${WRKSRC}/x-face-e21.el.gz
.endif
post-build:
.if (${EMACS_PORT_NAME} == emacs21)
(cd ${WRKSRC}; \
${EMACS_CMD} -batch -q -no-site-file \
-f batch-byte-compile x-face-e21.el)
.endif
do-install:
${MKDIR} ${PREFIX}/${LISPDIR}
.for i in ${LISP_FILES}
${INSTALL_DATA} ${WRKSRC}/${i}.el ${WRKSRC}/${i}.elc ${PREFIX}/${LISPDIR}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in METHOD.ja README.ja README-Anim.ja TODO.ja
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>