aboutsummaryrefslogtreecommitdiff
path: root/documents/ne
diff options
context:
space:
mode:
Diffstat (limited to 'documents/ne')
-rw-r--r--documents/ne/ne-2.5-makefile.patch.xzbin0 -> 620 bytes
-rwxr-xr-xdocuments/ne/ne.build66
2 files changed, 66 insertions, 0 deletions
diff --git a/documents/ne/ne-2.5-makefile.patch.xz b/documents/ne/ne-2.5-makefile.patch.xz
new file mode 100644
index 0000000..b124599
--- /dev/null
+++ b/documents/ne/ne-2.5-makefile.patch.xz
Binary files differ
diff --git a/documents/ne/ne.build b/documents/ne/ne.build
new file mode 100755
index 0000000..cf9c491
--- /dev/null
+++ b/documents/ne/ne.build
@@ -0,0 +1,66 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=ne
+VERSION=2.5
+BUILD=1
+OPTIONS="noinfoz"
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: ne (the nice editor)
+${NAME}:
+${NAME}: An easy to use text editor which is also powerful and fully
+${NAME}: configurable for the wizard. It is most sparing in it's resource
+${NAME}: usage.
+${NAME}:
+${NAME}: Homepage: http://ne.dsi.unimi.it
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+install_info()
+{
+ for file in "\${*}"; do
+ if [ -x usr/bin/install-info ]; then
+ usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null
+ fi
+ done
+}
+
+# Install texinfo files
+
+install_info ne
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://ne.dsi.unimi.it/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL3"
+
+build0()
+{
+make ${JOBS} PREFIX="${SYS_DIR[usr]}" OPTS="${FLAGS}"
+make install PREFIX="${SYS_DIR[usr]}" DESTDIR="${PKG}"
+doc doc/default.*
+changelog CHANGES
+}