summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/quilt/DESCR11
-rw-r--r--devel/quilt/Makefile46
-rw-r--r--devel/quilt/PLIST64
-rw-r--r--devel/quilt/distinfo5
4 files changed, 126 insertions, 0 deletions
diff --git a/devel/quilt/DESCR b/devel/quilt/DESCR
new file mode 100644
index 00000000000..bc02f25c752
--- /dev/null
+++ b/devel/quilt/DESCR
@@ -0,0 +1,11 @@
+Quilt is a set of scripts that allows to manage a series of patches by
+keeping track of the changes each patch makes. Patches can be applied,
+un-applied, refreshed, etc.
+
+The key philosophical concept is that your primary output is patches.
+Not ".c" files, not ".h" files. But patches. So patches are the
+first-class object here.
+
+Quilt was originally based on Andrew Morton's patch scripts published on
+the Linux kernel mailing list a while ago, but were heavily modified
+since then.
diff --git a/devel/quilt/Makefile b/devel/quilt/Makefile
new file mode 100644
index 00000000000..d20dc5dd960
--- /dev/null
+++ b/devel/quilt/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/09 19:46:36 jmmv Exp $
+#
+
+DISTNAME= quilt-0.46
+CATEGORIES= devel scm
+MASTER_SITES= http://download.savannah.gnu.org/releases/quilt/
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://savannah.nongnu.org/projects/quilt
+COMMENT= Tools to manage series of patches
+
+DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
+DEPENDS+= gsed-[0-9]*:../../textproc/gsed
+DEPENDS+= patch>=2.4:../../devel/patch
+
+BUILD_DEFS+= GNU_PROGRAM_PREFIX
+GNU_CONFIGURE= yes
+USE_TOOLS+= bash:run gmake perl:run
+
+CONFIGURE_ARGS+= --with-cp=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}cp
+CONFIGURE_ARGS+= --with-date=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}date
+CONFIGURE_ARGS+= --with-patch=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}patch
+CONFIGURE_ARGS+= --with-sed=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}sed
+CONFIGURE_ARGS+= --with-sendmail=/usr/sbin/sendmail
+CONFIGURE_ARGS+= --without-getopt
+
+INSTALL_MAKE_FLAGS+= etcdir=${PREFIX}/share/examples/quilt
+
+REPLACE_INTERPRETER+= conf-bash
+REPLACE.conf-bash.old= @BASH@
+REPLACE.conf-bash.new= ${BASH}
+REPLACE_FILES.conf-bash=*.in */*.in */*/*.in
+
+SUBST_CLASSES+= bash
+SUBST_MESSAGE.bash= Fixing non-shellbang references to bash.
+SUBST_STAGE.bash= pre-configure
+SUBST_SED.bash= -e 's,@BASH@,${BASH},g'
+SUBST_FILES.bash= quilt/scripts/inspect.in
+
+SUBST_CLASSES+= etc
+SUBST_MESSAGE.etc= Fixing path to configuration file.
+SUBST_STAGE.etc= pre-configure
+SUBST_SED.etc= -e 's,/etc/quilt,${PKG_SYSCONFDIR}/quilt,g'
+SUBST_FILES.etc= bin/* doc/* po/*
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/quilt/PLIST b/devel/quilt/PLIST
new file mode 100644
index 00000000000..5865818b49f
--- /dev/null
+++ b/devel/quilt/PLIST
@@ -0,0 +1,64 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/09 19:46:36 jmmv Exp $
+bin/guards
+bin/quilt
+lib/quilt/backup-files
+man/man1/guards.1
+man/man1/quilt.1
+share/doc/${PKGNAME}/README
+share/doc/${PKGNAME}/README.MAIL
+share/doc/${PKGNAME}/quilt.pdf
+share/locale/de/LC_MESSAGES/quilt.mo
+share/locale/fr/LC_MESSAGES/quilt.mo
+share/locale/ja/LC_MESSAGES/quilt.mo
+share/examples/quilt/bash_completion.d/quilt
+share/examples/quilt/quilt.quiltrc
+share/quilt/add
+share/quilt/annotate
+share/quilt/applied
+share/quilt/compat/cp
+share/quilt/compat/date
+share/quilt/compat/getopt
+share/quilt/compat/patch
+share/quilt/compat/sed
+share/quilt/compat/sendmail
+share/quilt/delete
+share/quilt/diff
+share/quilt/edit
+share/quilt/files
+share/quilt/fold
+share/quilt/fork
+share/quilt/graph
+share/quilt/grep
+share/quilt/header
+share/quilt/import
+share/quilt/mail
+share/quilt/new
+share/quilt/next
+share/quilt/patches
+share/quilt/pop
+share/quilt/previous
+share/quilt/push
+share/quilt/refresh
+share/quilt/remove
+share/quilt/rename
+share/quilt/scripts/dependency-graph
+share/quilt/scripts/edmail
+share/quilt/scripts/inspect
+share/quilt/scripts/parse-patch
+share/quilt/scripts/patchfns
+share/quilt/scripts/remove-trailing-ws
+share/quilt/series
+share/quilt/setup
+share/quilt/snapshot
+share/quilt/top
+share/quilt/unapplied
+share/quilt/upgrade
+share/quilt/wrapper/patch
+@dirrm share/quilt/wrapper
+@dirrm share/quilt/scripts
+@dirrm share/quilt/compat
+@dirrm share/quilt
+@dirrm share/examples/quilt/bash_completion.d
+@dirrm share/examples/quilt
+@dirrm share/doc/${PKGNAME}
+@dirrm lib/quilt
diff --git a/devel/quilt/distinfo b/devel/quilt/distinfo
new file mode 100644
index 00000000000..269ad59c93c
--- /dev/null
+++ b/devel/quilt/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/07/09 19:46:36 jmmv Exp $
+
+SHA1 (quilt-0.46.tar.gz) = 9344c1289f262053beb0196645b41ea5d9cda597
+RMD160 (quilt-0.46.tar.gz) = 508d6b4f8c1283b20acf8a757d4b3dfc3b8a7961
+Size (quilt-0.46.tar.gz) = 403984 bytes