Changeset View
Changeset View
Standalone View
Standalone View
editors/emacs/Makefile
# Created by: MANTANI Nobutaka <nobutaka@nobutaka.com> | # Created by: MANTANI Nobutaka <nobutaka@nobutaka.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= emacs | PORTNAME= emacs | ||||
DISTVERSION= ${EMACS_VER} | DISTVERSION= ${EMACS_VER} | ||||
PORTREVISION= 6 | |||||
PORTEPOCH= 3 | PORTEPOCH= 3 | ||||
CATEGORIES= editors ipv6 | CATEGORIES= editors ipv6 | ||||
MASTER_SITES= GNU | MASTER_SITES= GNU_ALPHA/emacs/pretest | ||||
.if ${FLAVOR:U} == canna | .if ${FLAVOR:U} == canna | ||||
PATCH_DIST_STRIP= -p1 | PATCH_DIST_STRIP= -p1 | ||||
PATCH_SITES= http://www.gentei.org/~yuuji/software/emacs26canna/ | PATCH_SITES= http://www.gentei.org/~yuuji/software/emacs26canna/ | ||||
PATCHFILES= emacs26.1-canna-20180529.diff.gz | PATCHFILES= emacs26.1-canna-20180529.diff.gz | ||||
.endif | .endif | ||||
MAINTAINER= emacs@FreeBSD.org | MAINTAINER= emacs@FreeBSD.org | ||||
Show All 20 Lines | |||||
.if ${FLAVOR:U} != nox | .if ${FLAVOR:U} != nox | ||||
USES+= desktop-file-utils | USES+= desktop-file-utils | ||||
USE_XORG= ice sm x11 xcb xext xfixes xinerama xmu xrandr xt | USE_XORG= ice sm x11 xcb xext xfixes xinerama xmu xrandr xt | ||||
.endif | .endif | ||||
CPE_VENDOR= gnu | CPE_VENDOR= gnu | ||||
CONFIGURE_ARGS= --disable-build-details \ | CONFIGURE_ARGS= --disable-build-details \ | ||||
--localstatedir=/var \ | --localstatedir=/var \ | ||||
--with-gameuser=games:games | --without-gpm | ||||
.if ${FLAVOR:U} == canna | .if ${FLAVOR:U} == canna | ||||
CONFIGURE_ARGS+= --with-canna | CONFIGURE_ARGS+= --with-canna | ||||
.endif | .endif | ||||
.if ${FLAVOR:U} == nox | .if ${FLAVOR:U} == nox | ||||
CONFIGURE_ARGS+= --with-sound=no --without-cairo --without-dbus \ | CONFIGURE_ARGS+= --with-sound=no --without-cairo --without-dbus \ | ||||
--without-gconf --without-gif --without-gsettings \ | --without-gconf --without-gif --without-gsettings \ | ||||
--with-x-toolkit=no --without-jpeg --without-lcms2 \ | --with-x-toolkit=no --without-jpeg --without-lcms2 \ | ||||
--without-m17n-flt --without-imagemagick \ | --without-m17n-flt --without-imagemagick \ | ||||
▲ Show 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | |||||
XPM_USE= XORG=xpm | XPM_USE= XORG=xpm | ||||
XPM_CONFIGURE_WITH= xpm | XPM_CONFIGURE_WITH= xpm | ||||
XWIDGETS_USE= XORG=xcomposite | XWIDGETS_USE= XORG=xcomposite | ||||
XWIDGETS_CONFIGURE_WITH= xwidgets | XWIDGETS_CONFIGURE_WITH= xwidgets | ||||
XWIDGETS_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ | XWIDGETS_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ | ||||
libsoup-2.4.so:devel/libsoup | libsoup-2.4.so:devel/libsoup | ||||
XWIDGETS_IMPLIES= GTK3 | XWIDGETS_IMPLIES= GTK3 | ||||
EMACS_VER= 26.1 | EMACS_VER= 26.1.92 | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
# has graphics/ImageMagick been compiled with OPENMP? | # has graphics/ImageMagick been compiled with OPENMP? | ||||
.if ${PORT_OPTIONS:MMAGICK} && ${:!${GREP} -sc " \-fopenmp " ${LOCALBASE}/libdata/pkgconfig/ImageMagick.pc || true!} == "1" | .if ${PORT_OPTIONS:MMAGICK} && ${:!${GREP} -sc " \-fopenmp " ${LOCALBASE}/libdata/pkgconfig/ImageMagick.pc || true!} == "1" | ||||
USES+= compiler:openmp | USES+= compiler:openmp | ||||
.endif | .endif | ||||
Show All 26 Lines |