aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/apsfilter/scripts/configure9
-rw-r--r--print/apsfilter6/scripts/configure9
2 files changed, 16 insertions, 2 deletions
diff --git a/print/apsfilter/scripts/configure b/print/apsfilter/scripts/configure
index d29d1721adbb..cbe12b39cb12 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"
diff --git a/print/apsfilter6/scripts/configure b/print/apsfilter6/scripts/configure
index d29d1721adbb..cbe12b39cb12 100644
--- a/print/apsfilter6/scripts/configure
+++ b/print/apsfilter6/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"