mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
make BATCH mode possible
bug reported by: Satoshi
This commit is contained in:
parent
b8e07e4318
commit
7ccecc00f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23044
9
print/apsfilter/scripts/configure
vendored
9
print/apsfilter/scripts/configure
vendored
@ -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"
|
||||
|
9
print/apsfilter6/scripts/configure
vendored
9
print/apsfilter6/scripts/configure
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user