1
0
forked from ports/opt

nedit: initial import

This commit is contained in:
Simone Rota 2005-11-16 17:42:26 +00:00
parent 48c31c97ae
commit 0d178fea00
3 changed files with 32 additions and 0 deletions

8
nedit/.footprint Normal file
View File

@ -0,0 +1,8 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/nc
-rwxr-xr-x root/root usr/bin/nedit
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/nc.1.gz
-rw-r--r-- root/root usr/man/man1/nedit.1.gz

1
nedit/.md5sum Normal file
View File

@ -0,0 +1 @@
48cb3dce52d44988f3a4d7c6f47b6bbe nedit-5.5-src.tar.bz2

23
nedit/Pkgfile Normal file
View File

@ -0,0 +1,23 @@
# Packager: Eduardo Lopes, eduol at gmx dot net
# Maintainer: Simone Rota, sip at varlock dot com
# Description: A GUI text editor for programmers
# URL: http://nedit.org/
# Depends on: lesstif
name=nedit
version=5.5
release=1
source=(ftp://nl.nedit.org/pub/NEdit/v5_5/$name-$version-src.tar.bz2)
build () {
cd $name-$version
sed -i "s|-O|$CFLAGS|" makefiles/Makefile.linux
sed -i 's/^CFLAGS=.*/& -DBUILD_UNTESTED_NEDIT/' makefiles/Makefile.linux
sed -i "/^LIBS=/s|-Wl,|-Wl,-L/usr/lib |" makefiles/Makefile.linux
echo "" | make linux
mkdir -p $PKG/usr/bin/
mkdir -p $PKG/usr/man/man1
cp source/nc source/nedit $PKG/usr/bin
cp doc/nc.man $PKG/usr/man/man1/nc.1
cp doc/nedit.man $PKG/usr/man/man1/nedit.1
}