This commit is contained in:
2025-08-28 08:24:34 +02:00
parent d7324ff12e
commit 6c1ffd6785
5 changed files with 8560 additions and 0 deletions

160
edit/emacs/Makefile Normal file
View File

@@ -0,0 +1,160 @@
#
# $Id: Makefile 1740 2008-08-30 06:23:54Z root $
#
PORTNAME= emacs
PORTVERSION= 28.2
CATEGORIES= editors
MASTER_SITES+= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
DIST_SUBDIR= gnu
DISTFILES= ${PORTNAME}-${PORTVERSION}${PORTSUBVERION}${EXTRACT_SUFX}
#PKGNAMESUFFIX= -nox
MAINTAINER= onborodin@gmail.com
COMMENT= GNU editing macros
LIB_DEPENDS+= libxml2.so:text/libxml2
LIB_DEPENDS+= libiconv.so:text/libiconv
#LIB_DEPENDS+= libsysinfo.so:system/libsysinfo
#LIB_DEPENDS+= libgdk-x11.so:gnome/libgtk2
#LIB_DEPENDS+= libgtk-x11.so:gnome/libgtk2
#LIB_DEPENDS+= libfreetype.so:graph/libfreetype2
SHARESTAT_DIR= /var/run
GNU_CONFIGURE= yes
USES+= gmake tar:xz
CONFIGURE_TARGET= ${MACHINE_ARCH}-pc-freebsd${OSREL:R}
CONFIGURE_ARGS+= --sharedstatedir=${SHARESTAT_DIR}
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --mandir=${PREFIX}/man
CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgmp
CONFIGURE_ARGS+= --without-dbus
CONFIGURE_ARGS+= --without-gconf
CONFIGURE_ARGS+= --without-gnutls
CONFIGURE_ARGS+= --without-imagemagick
CONFIGURE_ARGS+= --without-x
CONFIGURE_ARGS+= --with-sound=no
CONFIGURE_ARGS+= --with-x-toolkit=no
CONFIGURE_ARGS+= --without-cairo
CONFIGURE_ARGS+= --without-dbus
CONFIGURE_ARGS+= --without-gif
CONFIGURE_ARGS+= --without-gsettings
CONFIGURE_ARGS+= --without-imagemagick
CONFIGURE_ARGS+= --without-jpeg
CONFIGURE_ARGS+= --without-lcms2
CONFIGURE_ARGS+= --without-libotf
CONFIGURE_ARGS+= --without-m17n-flt
CONFIGURE_ARGS+= --without-png
CONFIGURE_ARGS+= --without-rsvg
CONFIGURE_ARGS+= --without-tiff
CONFIGURE_ARGS+= --without-toolkit-scroll-bars
CONFIGURE_ARGS+= --without-xft
CONFIGURE_ARGS+= --without-xim
CONFIGURE_ARGS+= --without-xml2
CONFIGURE_ARGS+= --without-xpm
CONFIGURE_ARGS+= --without-xwidgets
#CONFIGURE_ARGS+= --without-toolkit-scroll-bars
#CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no
CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no
MANCOMPRESSED= yes
STRIP= #
#INFO+= ada-mode
INFO+= auth
INFO+= autotype
INFO+= bovine
INFO+= calc
INFO+= ccmode
INFO+= cl
INFO+= dbus
INFO+= dired-x
INFO+= ebrowse
INFO+= ede
INFO+= ediff
INFO+= edt
INFO+= efaq
INFO+= eieio
INFO+= eintr
INFO+= elisp
INFO+= emacs
INFO+= emacs-gnutls
INFO+= emacs-mime
INFO+= epa
INFO+= erc
INFO+= ert
INFO+= eshell
INFO+= eudc
INFO+= flymake
INFO+= forms
INFO+= gnus
INFO+= htmlfontify
INFO+= idlwave
INFO+= info
INFO+= mairix-el
INFO+= message
INFO+= mh-e
INFO+= newsticker
INFO+= nxml-mode
INFO+= org
INFO+= pcl-cvs
INFO+= pgg
INFO+= rcirc
INFO+= reftex
INFO+= remember
INFO+= sasl
INFO+= sc
INFO+= semantic
INFO+= ses
INFO+= sieve
INFO+= smtpmail
INFO+= speedbar
INFO+= srecode
INFO+= tramp
INFO+= url
INFO+= vip
INFO+= viper
INFO+= widget
INFO+= wisent
INFO+= woman
PLIST_SUB+= VERSION=${PORTVERSION}
PLIST_SUB+= TARGET=${CONFIGURE_TARGET}
PLIST= ${PKGDIR}/pkg-plist.${ARCH}
FILES= ${WRKSRC}/configure
post-patch:
${REINPLACE_CMD} -e 's|gdk-2.0|gdk|g' ${FILES}
${REINPLACE_CMD} -e 's|gio-2.0|gio|g' ${FILES}
${REINPLACE_CMD} -e 's|glib-2.0|glib|g' ${FILES}
${REINPLACE_CMD} -e 's|gmodule-2.0|gmodule|g' ${FILES}
${REINPLACE_CMD} -e 's|gobject-2.0|gobject|g' ${FILES}
${REINPLACE_CMD} -e 's|gthread-2.0|gthread|g' ${FILES}
${REINPLACE_CMD} -e 's|gtk+-2.0|gtk+|g' ${FILES}
${REINPLACE_CMD} -e 's|libxml-2.0|libxml2|g' ${FILES}
${REINPLACE_CMD} -e 's|librsvg-2.0|librsvg|g' ${FILES}
post-install:
cd ${STAGEDIR}${PREFIX}/bin && ${RM} emacs && ${MV} emacs-${PORTVERSION} emacs
.include <bsd.port.mk>
#EOF

3
edit/emacs/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1664369379
SHA256 (gnu/emacs-28.2.tar.xz) = ee21182233ef3232dc97b486af2d86e14042dbb65bbc535df562c3a858232488
SIZE (gnu/emacs-28.2.tar.xz) = 47722600

40
edit/emacs/pkg-descr Normal file
View File

@@ -0,0 +1,40 @@
GNU Emacs is a self-documenting, customizable, extensible real-time
display editor.
Users new to Emacs will be able to use basic features fairly rapidly
by studying the tutorial and using the self-documentation features.
Emacs also has an extensive interactive manual browser. It is easily
extensible since its editing commands are written in Lisp.
GNU Emacs's many special packages handle mail reading (RMail) and
sending (Mail), outline editing (Outline), compiling (Compile),
running subshells within Emacs windows (Shell), running a Lisp
read-eval-print loop (Lisp-Interaction-Mode), automated psychotherapy
(Doctor :-) and many more.
LEIM is Libraries of Emacs Input Method.
This enables you to input Multilingual Characters.
To input these characters, select the "language name" in which
you want to input, and evalute the following two expressions:
(set-language-environment "language name")
(toggle-input-method)
The "language name" you can choose is one of these:
- Chinege - Chinese-BIG5 - Chinese-CNS
- Chinese-GB - Cyrillic-ALT - Cyrillic-ISO
- Cyrillic-KOI8 - Czech - Devanagari
- Ethiopic - German - Greek
- Hebrew - IPA - Japanese
- Korean - Lao - Latin-1
- Latin-2 - Latin-3 - Latin-4
- Latin-5 - Romanian - Slovak
- Thai - Tibetan - Vietnamese
In the default keybindings, (toggle-input-method) is bound to `C-\'.
WWW: http://www.gnu.org/software/emacs/

4162
edit/emacs/pkg-plist.aarch64 Normal file

File diff suppressed because it is too large Load Diff

4195
edit/emacs/pkg-plist.amd64 Normal file

File diff suppressed because it is too large Load Diff