summaryrefslogtreecommitdiffstats
path: root/print/apsfilter
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1999-11-12 17:49:21 +0000
committerandreas <andreas@FreeBSD.org>1999-11-12 17:49:21 +0000
commit3b3b36c1136171882765ad3d9d88ae83af6f08ca (patch)
tree75e9979220014d10b45dab611a04a18deae420be /print/apsfilter
parentaf914116be0bc7312e8888b02cba412996124f21 (diff)
downloadFreeBSD-ports-3b3b36c1136171882765ad3d9d88ae83af6f08ca.zip
FreeBSD-ports-3b3b36c1136171882765ad3d9d88ae83af6f08ca.tar.gz
make BATCH mode possible
bug reported by: Satoshi
Diffstat (limited to 'print/apsfilter')
-rw-r--r--print/apsfilter/scripts/configure9
1 files changed, 8 insertions, 1 deletions
diff --git a/print/apsfilter/scripts/configure b/print/apsfilter/scripts/configure
index d29d172..cbe12b3 100644
--- a/print/apsfilter/scripts/configure
+++ b/print/apsfilter/scripts/configure
@@ -2,7 +2,7 @@
# $FreeBSD$
-# runs if BATCH is NOT defined
+if [ "$BATCH" != "yes" ]; then
#
# configure - apsfilter package dependency configuration
@@ -128,6 +128,13 @@ while [ "$1" ]; do
shift
done
+fi # if $BATCH
+
+# if batch, then start creating Makefile.inc here
+if [ "$BATCH" = "yes" ]; then
+ /bin/mkdir -p ${WRKDIRPREFIX}${CURDIR}
+ exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
echo "post-install:"
echo " @\${MKDIR} ${PREFIX}/apsfilter/filter"
echo " @touch ${PREFIX}/apsfilter/filter/.keep_me"
OpenPOWER on IntegriCloud