freebsd-ports/graphics/xface.el/Makefile
Joseph Mingrone a3cc513bfc Flavorize and modernize Emacs ports
- Convert USE_EMACS to USES=emacs
- Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and
  editors/emacs-devel)
- Permit default Emacs flavor to be specified in make.conf
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs
- Update and simplify audio/emms and fix build on FreeBSD 10 [1]
- Update databases/bbdd and fix build on FreeBSD 10 [1]
- Update editors/emacs-devel
- Ensure Makefile shell commands that change directory are executed in a
  subshell
- Silence some portlint warnings

[1] By not depending on base texinfo

PR:		225404
Reviewed by:	antoine
Approved by:	portmgr (mat) ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-01 18:03:09 +00:00

42 lines
1,020 B
Makefile

# Created by: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
# $FreeBSD$
PORTNAME= xface.el
PORTVERSION= 1.3.6.24
PORTREVISION= 17
CATEGORIES= graphics elisp
MASTER_SITES= http://www.jpl.org/ftp/pub/elisp/ \
ftp://ftp.jpl.org/pub/elisp/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
DISTNAME= x-face-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= X-Face encoder/decoder/viewer for Emacsen
LICENSE= GPLv2+
RUN_DEPENDS= compface:mail/faces
USES= emacs
EMACS_FLAVORS_EXCLUDE= devel_full devel_nox # fail to build
LISP_FILES= x-face
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/x-face
PLIST_SUB+= LISPDIR=${LISPDIR} \
DOCSDIR=share/doc/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${LISPDIR}
.for i in ${LISP_FILES}
${INSTALL_DATA} ${WRKSRC}/${i}.el ${WRKSRC}/${i}.elc \
${STAGEDIR}${PREFIX}/${LISPDIR}
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} METHOD.ja README.ja README-Anim.ja \
TODO.ja ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>