1
0
forked from ports/opt

quilt: initial release

This commit is contained in:
Tilman Sauerbeck 2006-01-07 13:24:27 +00:00
parent 1c79359d4e
commit cc345232d9
4 changed files with 114 additions and 0 deletions

53
quilt/.footprint Normal file
View File

@ -0,0 +1,53 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/guards
-rwxr-xr-x root/root usr/bin/quilt
drwxr-xr-x root/root usr/etc/
-rw-r--r-- root/root usr/etc/quilt.quiltrc
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/bash-completion/
-rw-r--r-- root/root usr/lib/bash-completion/quilt
drwxr-xr-x root/root usr/lib/quilt/
-rwxr-xr-x root/root usr/lib/quilt/backup-files
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/guards.1.gz
-rw-r--r-- root/root usr/share/man/man1/quilt.1.gz
drwxr-xr-x root/root usr/share/quilt/
-rwxr-xr-x root/root usr/share/quilt/add
-rwxr-xr-x root/root usr/share/quilt/annotate
-rwxr-xr-x root/root usr/share/quilt/applied
-rwxr-xr-x root/root usr/share/quilt/delete
-rwxr-xr-x root/root usr/share/quilt/diff
-rwxr-xr-x root/root usr/share/quilt/edit
-rwxr-xr-x root/root usr/share/quilt/files
-rwxr-xr-x root/root usr/share/quilt/fold
-rwxr-xr-x root/root usr/share/quilt/fork
-rwxr-xr-x root/root usr/share/quilt/graph
-rwxr-xr-x root/root usr/share/quilt/grep
-rwxr-xr-x root/root usr/share/quilt/header
-rwxr-xr-x root/root usr/share/quilt/import
-rwxr-xr-x root/root usr/share/quilt/mail
-rwxr-xr-x root/root usr/share/quilt/new
-rwxr-xr-x root/root usr/share/quilt/next
-rwxr-xr-x root/root usr/share/quilt/patches
-rwxr-xr-x root/root usr/share/quilt/pop
-rwxr-xr-x root/root usr/share/quilt/previous
-rwxr-xr-x root/root usr/share/quilt/push
-rwxr-xr-x root/root usr/share/quilt/refresh
-rwxr-xr-x root/root usr/share/quilt/remove
-rwxr-xr-x root/root usr/share/quilt/rename
drwxr-xr-x root/root usr/share/quilt/scripts/
-rwxr-xr-x root/root usr/share/quilt/scripts/dependency-graph
-rwxr-xr-x root/root usr/share/quilt/scripts/edmail
-rwxr-xr-x root/root usr/share/quilt/scripts/inspect
-rwxr-xr-x root/root usr/share/quilt/scripts/parse-patch
-rw-r--r-- root/root usr/share/quilt/scripts/patchfns
-rwxr-xr-x root/root usr/share/quilt/scripts/remove-trailing-ws
-rwxr-xr-x root/root usr/share/quilt/series
-rwxr-xr-x root/root usr/share/quilt/setup
-rwxr-xr-x root/root usr/share/quilt/snapshot
-rwxr-xr-x root/root usr/share/quilt/top
-rwxr-xr-x root/root usr/share/quilt/unapplied
-rwxr-xr-x root/root usr/share/quilt/upgrade

2
quilt/.md5sum Normal file
View File

@ -0,0 +1,2 @@
c07d43f24f4a473cab4519732647086b quilt-0.42.tar.gz
2a720f8a847eb322bf63a2e38907a903 quilt.diff

22
quilt/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: Patch management tool
# URL: http://savannah.nongnu.org/projects/quilt
# Maintainer: Tilman Sauerbeck, tilman at code-monkey dot de
name=quilt
version=0.42
release=1
source=(http://download.savannah.nongnu.org/releases/$name/$name-$version.tar.gz \
$name.diff)
build () {
cd $name-$version
patch -Np1 -i ../$name.diff
./configure --prefix=/usr --disable-nls
make
make BUILD_ROOT=$PKG install
rm -rf $PKG/usr/share/doc
}

37
quilt/quilt.diff Normal file
View File

@ -0,0 +1,37 @@
diff -aur quilt-0.42.orig/Makefile.in quilt-0.42/Makefile.in
--- quilt-0.42.orig/Makefile.in 2005-07-22 19:06:32.000000000 +0200
+++ quilt-0.42/Makefile.in 2006-01-07 13:06:13.000000000 +0100
@@ -11,7 +11,7 @@
docdir := @docdir@
mandir := $(datadir)/man
localedir := $(datadir)/locale
-etcdir := $(subst /usr/etc,/etc,$(prefix)/etc)
+etcdir := $(prefix)/etc
QUILT_DIR = $(datadir)/$(PACKAGE)
SCRIPTS_DIR = $(QUILT_DIR)/scripts
@@ -250,9 +250,10 @@
$(MAKE_NLS) -C po install BUILD_ROOT=$(BUILD_ROOT) \
LINGUAS="$(LINGUAS)" localedir=$(localedir)
+ @INSTALL@ -d $(BUILD_ROOT)$(libdir)
+ @INSTALL@ -d $(BUILD_ROOT)$(libdir)/bash-completion
+ @INSTALL@ -m 644 bash_completion $(BUILD_ROOT)$(libdir)/bash-completion/quilt
@INSTALL@ -d $(BUILD_ROOT)$(etcdir)
- @INSTALL@ -d $(BUILD_ROOT)$(etcdir)/bash_completion.d
- @INSTALL@ -m 644 bash_completion $(BUILD_ROOT)$(etcdir)/bash_completion.d/quilt
@INSTALL@ -m 644 quilt.quiltrc $(BUILD_ROOT)$(etcdir)/
uninstall:
diff -aur quilt-0.42.orig/bin/quilt.in quilt-0.42/bin/quilt.in
--- quilt-0.42.orig/bin/quilt.in 2005-07-18 00:22:46.000000000 +0200
+++ quilt-0.42/bin/quilt.in 2006-01-07 13:03:18.000000000 +0100
@@ -11,7 +11,7 @@
if [ -z "$QUILTRC" ]
then
- for QUILTRC in $HOME/.quiltrc /etc/quilt.quiltrc; do
+ for QUILTRC in $HOME/.quiltrc /usr/etc/quilt.quiltrc; do
[ -e $QUILTRC ] && break
done
export QUILTRC