freebsd-ports/www/emacs-w3m/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

63 lines
1.7 KiB
Makefile

# Created by: MANTANI Nobutaka <nobutaka@nobutaka.com>
# $FreeBSD$
PORTNAME= emacs-w3m
PORTVERSION= 1.4.598.b.${SNAPDATE}
PORTREVISION= 3
CATEGORIES= www elisp
MASTER_SITES= LOCAL/nobutaka
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-1.4.598-${SNAPDATE}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Simple front-end to w3m for emacs
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= w3m:www/w3m
RUN_DEPENDS= w3m:www/w3m
USES= autoreconf emacs tar:bzip2
EMACS_FLAVORS_EXCLUDE= devel_full devel_nox # fail during configure
ALL_TARGET= default
INSTALL_TARGET= install install-icons
NO_ARCH= yes
SNAPDATE= 20170903
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
--with-lispdir=${PREFIX}/${EMACS_SITE_LISPDIR}/w3m \
--with-icondir=${PREFIX}/${EMACS_LIBDIR}/etc/w3m/icons \
--without-compress-install
INFO= emacs-w3m-ja emacs-w3m
PORTDOCS= README*
OPTIONS_DEFINE= DOCS OCTET_VIEWER SHIMBUN
OPTIONS_DEFAULT= OCTET_VIEWER SHIMBUN
OPTIONS_SUB= yes
OCTET_VIEWER_DESC= Octet stream viewer support
SHIMBUN_DESC= Build and/or install Shimbun
SHIMBUN_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-Makefile.in
SHIMBUN_BUILD_DEPENDS= flim${EMACS_PKGNAMESUFFIX}>0:editors/flim@${EMACS_FLAVOR}
SHIMBUN_RUN_DEPENDS= flim${EMACS_PKGNAMESUFFIX}>0:editors/flim@${EMACS_FLAVOR}
OCTET_VIEWER_RUN_DEPENDS=\
semi${EMACS_PKGNAMESUFFIX}>0:editors/semi@${EMACS_FLAVOR} \
wvHtml:textproc/wv \
xlhtml:textproc/xlhtml
post-patch:
@${MV} ${WRKSRC}/aclocal.m4 ${WRKSRC}/acinclude.m4
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>