aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1999-11-12 17:49:21 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1999-11-12 17:49:21 +0000
commit7ccecc00f0135788cf93911c20d458781cc06e39 (patch)
tree683031fa2b8234c239bdfc7ebf35076b86962084 /print
parentb8e07e43184916968c4ba67399967a2f955c37a2 (diff)
downloadports-7ccecc00f0135788cf93911c20d458781cc06e39.tar.gz
ports-7ccecc00f0135788cf93911c20d458781cc06e39.zip
Notes
Diffstat (limited to 'print')
-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"