From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- .../bluefish/bluefish-2.2.6-datarootdir.patch.xz | Bin 0 -> 728 bytes .../bluefish/bluefish-2.2.6-gzipfix.patch.xz | Bin 0 -> 416 bytes development/bluefish/bluefish.build | 96 +++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 development/bluefish/bluefish-2.2.6-datarootdir.patch.xz create mode 100644 development/bluefish/bluefish-2.2.6-gzipfix.patch.xz create mode 100755 development/bluefish/bluefish.build (limited to 'development/bluefish') diff --git a/development/bluefish/bluefish-2.2.6-datarootdir.patch.xz b/development/bluefish/bluefish-2.2.6-datarootdir.patch.xz new file mode 100644 index 0000000..ea12617 Binary files /dev/null and b/development/bluefish/bluefish-2.2.6-datarootdir.patch.xz differ diff --git a/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz b/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz new file mode 100644 index 0000000..24bd103 Binary files /dev/null and b/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz differ diff --git a/development/bluefish/bluefish.build b/development/bluefish/bluefish.build new file mode 100755 index 0000000..ed86a56 --- /dev/null +++ b/development/bluefish/bluefish.build @@ -0,0 +1,96 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=bluefish +VERSION=2.2.6 +BUILD=1 +DEPENDS=('gtk+ >= 3.8.0-1' 'enchant >= 1.6.0-1') +OPTDEPENDS=('gucharmap >= 3.8.0-1' 'python >= 2.7.4-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null +fi +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.bennewitz.com/bluefish/stable/source/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL3" + +build0() +{ +sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' \ + $(find . -name "*.py") data/{jsbeautify,lorem-ipsum-generator} +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}/plugins" \ + --localstatedir="${SYS_DIR[var]}" \ + --datadir="${SYS_DIR[share]}/application-data" \ + --disable-update-databases \ + --disable-xml-catalog-update \ + --enable-spell-check +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +rm -rf ${PKG}${SYS_DIR[doc]}/bluefish +} -- cgit v1.2.3-70-g09d2