mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
vip
This commit is contained in:
151
xapp/emacs28/Makefile
Normal file
151
xapp/emacs28/Makefile
Normal file
@@ -0,0 +1,151 @@
|
||||
#
|
||||
# $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}
|
||||
|
||||
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 -lsysinfo
|
||||
|
||||
CONFIGURE_ARGS+= --without-dbus
|
||||
CONFIGURE_ARGS+= --without-gconf
|
||||
CONFIGURE_ARGS+= --without-gnutls
|
||||
CONFIGURE_ARGS+= --without-imagemagick
|
||||
#CONFIGURE_ARGS+= --without-libotf
|
||||
#CONFIGURE_ARGS+= --without-rsvg
|
||||
#CONFIGURE_ARGS+= --without-xft
|
||||
#CONFIGURE_ARGS+= --without-xml2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CONFIGURE_ARGS+= --with-x
|
||||
CONFIGURE_ARGS+= --with-x-toolkit=gtk2
|
||||
CONFIGURE_ARGS+= --without-xpm
|
||||
CONFIGURE_ARGS+= --with-jpeg
|
||||
CONFIGURE_ARGS+= --with-tiff
|
||||
CONFIGURE_ARGS+= --with-gif
|
||||
CONFIGURE_ARGS+= --with-png
|
||||
CONFIGURE_ARGS+= --without-xim
|
||||
#CONFIGURE_ARGS+= --without-toolkit-scroll-bars
|
||||
#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}
|
||||
|
||||
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}
|
||||
|
||||
|
||||
# ${REINPLACE_CMD} -e 's|gconf-2.0|gconf|g' ${FILES}
|
||||
# ${REINPLACE_CMD} -e 's|gdk-pixbuf-2.0|gdk-pixbuf|g' ${FILES}
|
||||
# ${REINPLACE_CMD} -e 's|gnome-vfs-2.0|gnome-vfs|g' ${FILES}
|
||||
# ${REINPLACE_CMD} -e 's|libart-2.0|libart|g' ${FILES}
|
||||
# ${REINPLACE_CMD} -e 's|libgnome-2.0|libgnome|g' ${FILES}
|
||||
# ${REINPLACE_CMD} -e 's|libIDL-2.0|libIDL|g' ${FILES}
|
||||
|
||||
|
||||
post-install:
|
||||
cd ${STAGEDIR}${PREFIX}/bin && ${RM} emacs && ${MV} emacs-${PORTVERSION} emacs
|
||||
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
#EOF
|
||||
3
xapp/emacs28/distinfo
Normal file
3
xapp/emacs28/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1664369379
|
||||
SHA256 (gnu/emacs-28.2.tar.xz) = ee21182233ef3232dc97b486af2d86e14042dbb65bbc535df562c3a858232488
|
||||
SIZE (gnu/emacs-28.2.tar.xz) = 47722600
|
||||
17
xapp/emacs28/pkg-deinstall
Normal file
17
xapp/emacs28/pkg-deinstall
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
PREFIX=${PKG_PREFIX}
|
||||
LOCALBASE=${PKG_PREFIX}
|
||||
|
||||
case $2 in
|
||||
DEINSTALL)
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
${LOCALBASE}/bin/update-desktop-database -q ${PREFIX}/share/applications
|
||||
## ${LOCALBASE}/bin/update-mime-database ${PREFIX}/share/mime
|
||||
${LOCALBASE}/bin/gtk-update-icon-cache -q ${PREFIX}/share/icons/hicolor
|
||||
;;
|
||||
esac
|
||||
#EOF
|
||||
40
xapp/emacs28/pkg-descr
Normal file
40
xapp/emacs28/pkg-descr
Normal 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/
|
||||
17
xapp/emacs28/pkg-install
Normal file
17
xapp/emacs28/pkg-install
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
PREFIX=${PKG_PREFIX}
|
||||
LOCALBASE=${PKG_PREFIX}
|
||||
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
;;
|
||||
POST-INSTALL)
|
||||
${LOCALBASE}/bin/update-desktop-database -q ${PREFIX}/share/applications
|
||||
## ${LOCALBASE}/bin/update-mime-database ${PREFIX}/share/mime
|
||||
${LOCALBASE}/bin/gtk-update-icon-cache -q ${PREFIX}/share/icons/hicolor
|
||||
;;
|
||||
esac
|
||||
#EOF
|
||||
4176
xapp/emacs28/pkg-plist
Normal file
4176
xapp/emacs28/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,14 @@
|
||||
--- ./data/Makefile.in.orig 2019-09-28 14:38:52.000000000 +0200
|
||||
+++ ./data/Makefile.in 2019-12-30 08:50:31.788564000 +0200
|
||||
@@ -492,13 +492,16 @@
|
||||
--- ./data/Makefile.in.orig 2020-11-08 19:15:23.000000000 +0200
|
||||
+++ ./data/Makefile.in 2022-12-17 00:47:39.881252000 +0200
|
||||
@@ -500,13 +500,18 @@
|
||||
tags/entities.html.tags
|
||||
|
||||
template_files = \
|
||||
+ templates/files/file.js \
|
||||
+ templates/files/file.jsx \
|
||||
+ templates/files/file.go \
|
||||
+ templates/files/file.pl \
|
||||
+ templates/files/file.pm \
|
||||
templates/files/file.html \
|
||||
templates/files/file_html5.html \
|
||||
templates/files/file.php \
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
--- ./data/templates/fileheader.orig 2018-12-16 13:02:55.000000000 +0200
|
||||
+++ ./data/templates/fileheader 2019-03-26 14:47:06.863703000 +0200
|
||||
@@ -1,4 +1,3 @@
|
||||
--- ./data/templates/fileheader.orig 2020-11-08 19:14:52.000000000 +0200
|
||||
+++ ./data/templates/fileheader 2022-12-12 19:59:44.874477000 +0200
|
||||
@@ -1,5 +1,3 @@
|
||||
-{filename}
|
||||
|
||||
Copyright {year} {developer} <{mail}>
|
||||
|
||||
-{gpl}
|
||||
|
||||
48
xapp/geany/files/patch-x-data-templates-files-file.pl
Normal file
48
xapp/geany/files/patch-x-data-templates-files-file.pl
Normal file
@@ -0,0 +1,48 @@
|
||||
--- ./data/templates/files/file.pl.orig 2022-12-12 21:37:08.520578000 +0200
|
||||
+++ ./data/templates/files/file.pl 2022-12-17 00:46:42.275540000 +0200
|
||||
@@ -0,0 +1,45 @@
|
||||
+#!/usr/bin/env perl
|
||||
+
|
||||
+{fileheader}
|
||||
+
|
||||
+package Hello;
|
||||
+
|
||||
+use strict;
|
||||
+use warnings;
|
||||
+
|
||||
+use Exporter qw(import);
|
||||
+our @EXPORT_OK = qw(hello);
|
||||
+
|
||||
+sub hello {
|
||||
+ print "hello\n";
|
||||
+}
|
||||
+
|
||||
+
|
||||
+sub new {
|
||||
+ my $class = shift;
|
||||
+ my $self = {
|
||||
+ };
|
||||
+ bless $self, $class;
|
||||
+ return $self;
|
||||
+}
|
||||
+
|
||||
+sub print {
|
||||
+ my $class = shift;
|
||||
+ print "hello\n";
|
||||
+}
|
||||
+
|
||||
+1;
|
||||
+
|
||||
+package main;
|
||||
+
|
||||
+use lib "libs";
|
||||
+
|
||||
+use strict;
|
||||
+use warnings;
|
||||
+use Hello::More qw(hello);
|
||||
+use Hello;
|
||||
+
|
||||
+hello();
|
||||
+
|
||||
+my $hello = Hello->new;
|
||||
+$hello->print;
|
||||
33
xapp/geany/files/patch-x-data-templates-files-file.pm
Normal file
33
xapp/geany/files/patch-x-data-templates-files-file.pm
Normal file
@@ -0,0 +1,33 @@
|
||||
--- ./data/templates/files/file.pm.orig 2022-12-17 00:46:59.967600000 +0200
|
||||
+++ ./data/templates/files/file.pm 2022-12-16 19:09:22.848913000 +0200
|
||||
@@ -0,0 +1,30 @@
|
||||
+#
|
||||
+# Copyright 2022 Oleg Borodin <borodin@unix7.org>
|
||||
+#
|
||||
+package Hello;
|
||||
+
|
||||
+use strict;
|
||||
+use warnings;
|
||||
+
|
||||
+use Exporter qw(import);
|
||||
+our @EXPORT_OK = qw(hello);
|
||||
+
|
||||
+sub hello {
|
||||
+ print "hello\n";
|
||||
+}
|
||||
+
|
||||
+sub new {
|
||||
+ my $class = shift;
|
||||
+ my $self = {
|
||||
+ };
|
||||
+ bless $self, $class;
|
||||
+ return $self;
|
||||
+}
|
||||
+
|
||||
+sub print {
|
||||
+ my $class = shift;
|
||||
+ print "hello\n";
|
||||
+}
|
||||
+
|
||||
+1;
|
||||
+#EOF
|
||||
@@ -152,6 +152,8 @@ share/geany/templates/files/file.html
|
||||
share/geany/templates/files/file.js
|
||||
share/geany/templates/files/file.jsx
|
||||
share/geany/templates/files/file.php
|
||||
share/geany/templates/files/file.pl
|
||||
share/geany/templates/files/file.pm
|
||||
share/geany/templates/files/file.rb
|
||||
share/geany/templates/files/file.tex
|
||||
share/geany/templates/files/main.c
|
||||
@@ -348,3 +350,4 @@ share/locale/zh_TW/LC_MESSAGES/geany.mo
|
||||
@dir share/locale/zh_CN
|
||||
@dir share/locale/zh_TW/LC_MESSAGES
|
||||
@dir share/locale/zh_TW
|
||||
@dir share/locale
|
||||
|
||||
Reference in New Issue
Block a user