mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
cc3063e8db
- Update to 3.1.0.0 - Auto generate pkg-plist - Add another option for SSL PR: ports/180242 Submitted by: John Marino <draco@marino.st> (maintainer)
26 lines
740 B
Plaintext
26 lines
740 B
Plaintext
--- docs/gentexifile.orig 2013-07-03 01:11:54.000000000 +0000
|
|
+++ docs/gentexifile
|
|
@@ -32,12 +32,7 @@ SOURCE=$1
|
|
TARGET=`basename ${SOURCE}`.texi
|
|
TMPTAR=${TARGET}.tmp
|
|
|
|
-awk=`type gawk 2>/dev/null`
|
|
-if [ x"$awk" = x ]; then
|
|
- awk="awk"
|
|
-else
|
|
- awk="gawk"
|
|
-fi
|
|
+awk=${AWK}
|
|
|
|
$awk 'BEGIN{out=1}$1=="end"&&substr($0,1,1)=="e"{out=1}out==1{print}$1=="private"&&$2!="with"&&out==1{out=0; print " -- implementation removed"}' ${SOURCE} > genout
|
|
|
|
@@ -51,7 +46,7 @@ if [ $# = 1 ]; then
|
|
echo "@group" >>${TMPTAR}
|
|
fi
|
|
echo "" >>${TMPTAR}
|
|
-sed -f ada.sed genout >>${TMPTAR}
|
|
+sed -E -f ada.sed genout >>${TMPTAR}
|
|
echo "" >>${TMPTAR}
|
|
if [ $# = 1 ]; then
|
|
echo "@end group" >>${TMPTAR}
|