summaryrefslogtreecommitdiffstats
path: root/main/abuild/enhanced-subpkgdesc.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-27 18:51:29 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-27 18:51:29 -0600
commit16d00f80d0d2c199a3554d04ba07f5292a3f1585 (patch)
tree4613c104a1d6d08300cac63345d724e6c64b8cfa /main/abuild/enhanced-subpkgdesc.patch
parentc574610d3f0080448d834cad0516bfb919557f7b (diff)
downloadaports-16d00f80d0d2c199a3554d04ba07f5292a3f1585.tar.bz2
aports-16d00f80d0d2c199a3554d04ba07f5292a3f1585.tar.xz
main/abuild: add enhanced subpackage description patch from head
Diffstat (limited to 'main/abuild/enhanced-subpkgdesc.patch')
-rw-r--r--main/abuild/enhanced-subpkgdesc.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/abuild/enhanced-subpkgdesc.patch b/main/abuild/enhanced-subpkgdesc.patch
new file mode 100644
index 000000000..3bcc76725
--- /dev/null
+++ b/main/abuild/enhanced-subpkgdesc.patch
@@ -0,0 +1,31 @@
+From 0187915cc2caed5bfe5fbd1f41da003d9d691fa0 Mon Sep 17 00:00:00 2001
+From: William Pitcock <nenolod@dereferenced.org>
+Date: Fri, 28 Jan 2011 00:46:43 +0000
+Subject: default_doc/default_dev: enhanced pkgdesc
+
+---
+diff --git a/abuild.in b/abuild.in
+index 904b1c3..551d759 100755
+--- a/abuild.in
++++ b/abuild.in
+@@ -757,7 +757,9 @@ default_doc() {
+ depends="$depends_doc"
+ install="$install_doc"
+ triggers="$triggers_doc"
++ pkgdesc="$pkgdesc (documentation)"
+ arch=${arch_doc:-"noarch"}
++
+ local i
+ for i in doc man info html sgml licenses gtk-doc; do
+ if [ -d "$pkgdir/usr/share/$i" ]; then
+@@ -806,6 +808,8 @@ default_dev() {
+ depends="$pkgname $depends_dev"
+ install="$install_dev"
+ triggers="$triggers_dev"
++ pkgdesc="$pkgdesc (development files)"
++
+ for i in $origsubpackages; do
+ [ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}"
+ done
+--
+cgit v0.8.3.3