X-Git-Url: http://www.privoxy.org/gitweb/installation.html?a=blobdiff_plain;f=constructPkgContent.sh;h=fb5576a67819e8a65b65821e9ff0587b946d56d2;hb=7a75cbacffae5220e5d40b1ce04d6df19cad80c8;hp=e9856b292c9b970f0c90a7526b844f8aed477bbf;hpb=d862a6edfafeff9af7ab902df6cb59d852c49615;p=OSXPackageBuilder.git diff --git a/constructPkgContent.sh b/constructPkgContent.sh index e9856b2..fb5576a 100755 --- a/constructPkgContent.sh +++ b/constructPkgContent.sh @@ -28,7 +28,8 @@ # USA # # Modification : If you modify this file please consider whether your -# changes ought to be passed back to the macsetup module. +# changes ought to be passed back to the OSXPackageBuilder +# module. # # Use the common script to locate the directory containing Privoxy's source ($SOURCEDIR) @@ -108,6 +109,18 @@ echo "Copy the manpage from the '${SOURCE_DIR}' directory" echo "" cp -v ../${SOURCE_DIR}/privoxy.1 pkg\ content/usr/local/share/man/man1 +# Optionally copy the PCRE libraries +if [ "$1" == "-pcre" ]; then + echo "" + echo "" + echo "Copy the external PCRE libraries" + echo "" + mkdir pkg\ content/usr/local/lib + cp -v /usr/local/lib/libpcre* pkg\ content/usr/local/lib + mkdir pkg\ content/usr/local/lib/pkgconfig + cp -v /usr/local/lib/pkgconfig/libpcre* pkg\ content/usr/local/lib/pkgconfig +fi + # Remove CVS administration files echo "" echo ""