mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
emacs: enabled new features (#2754)
* emacs: enabled new features * Cleanup
This commit is contained in:
@@ -13,7 +13,7 @@ project planner, mail and news reader, debugger interface, calendar, and more.
|
|||||||
HOMEPAGE="https://gnu.org/s/emacs/"
|
HOMEPAGE="https://gnu.org/s/emacs/"
|
||||||
COPYRIGHT="2001-2018 Free Software Foundation, Inc."
|
COPYRIGHT="2001-2018 Free Software Foundation, Inc."
|
||||||
LICENSE="GNU GPL v3"
|
LICENSE="GNU GPL v3"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="http://www.artfiles.org/gnu.org/emacs/emacs-$portVersion.tar.xz"
|
SOURCE_URI="http://www.artfiles.org/gnu.org/emacs/emacs-$portVersion.tar.xz"
|
||||||
CHECKSUM_SHA256="1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c"
|
CHECKSUM_SHA256="1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c"
|
||||||
PATCHES="emacs-$portVersion.patchset"
|
PATCHES="emacs-$portVersion.patchset"
|
||||||
@@ -41,8 +41,11 @@ PROVIDES="
|
|||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
|
lib:libexecinfo$secondaryArchSuffix
|
||||||
|
lib:libglib_2.0$secondaryArchSuffix
|
||||||
lib:libgnutls$secondaryArchSuffix
|
lib:libgnutls$secondaryArchSuffix
|
||||||
lib:libiconv$secondaryArchSuffix
|
lib:libiconv$secondaryArchSuffix
|
||||||
|
lib:libintl$secondaryArchSuffix
|
||||||
lib:libncurses$secondaryArchSuffix
|
lib:libncurses$secondaryArchSuffix
|
||||||
lib:libxml2$secondaryArchSuffix
|
lib:libxml2$secondaryArchSuffix
|
||||||
lib:libz$secondaryArchSuffix
|
lib:libz$secondaryArchSuffix
|
||||||
@@ -50,8 +53,11 @@ REQUIRES="
|
|||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
devel:libexecinfo$secondaryArchSuffix
|
||||||
|
devel:libglib_2.0$secondaryArchSuffix
|
||||||
devel:libgnutls$secondaryArchSuffix
|
devel:libgnutls$secondaryArchSuffix
|
||||||
devel:libiconv$secondaryArchSuffix
|
devel:libiconv$secondaryArchSuffix
|
||||||
|
devel:libintl$secondaryArchSuffix
|
||||||
devel:libncurses$secondaryArchSuffix
|
devel:libncurses$secondaryArchSuffix
|
||||||
devel:libxml2$secondaryArchSuffix
|
devel:libxml2$secondaryArchSuffix
|
||||||
devel:libz$secondaryArchSuffix
|
devel:libz$secondaryArchSuffix
|
||||||
@@ -99,23 +105,15 @@ BUILD()
|
|||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
# Install fix, emacs is stupid, required only in recipe-development
|
|
||||||
for f in emacs bootstrap-emacs; do
|
|
||||||
rm -rf src/$f
|
|
||||||
done
|
|
||||||
|
|
||||||
make install
|
make install
|
||||||
|
|
||||||
# ctags fix
|
# ctags fix
|
||||||
mv $binDir/ctags $binDir/ctags.emacs
|
mv $commandBinDir/ctags $commandBinDir/ctags.emacs
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
find $dataDir -type f -name "*.el.gz" -delete
|
|
||||||
|
|
||||||
for f in appdata applications icons; do
|
for f in appdata applications icons; do
|
||||||
rm -rf $dataDir/$f
|
rm -rf $dataDir/$f
|
||||||
done
|
done
|
||||||
|
|
||||||
rm -rf $libDir/systemd
|
rm -rf $libDir/systemd
|
||||||
|
|
||||||
# Icon
|
# Icon
|
||||||
|
|||||||
Reference in New Issue
Block a user