summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-04-25 22:00:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-04-25 22:00:04 +0000
commitb4b1816b21d7e3ede5459e39c207b650e9bdb9ba (patch)
tree877f83651fc08a9e89b2786d39a927b386e1f64a /chinese
parente434336ced567ed2e12c45daddd1c31999bbf9de (diff)
downloadfreebsd-ports-b4b1816b21d7e3ede5459e39c207b650e9bdb9ba.zip
Only sleep in ports if BATCH/PACKAGE_BUILDING are not defined.
Sponsored by: Absolight
Diffstat (limited to 'chinese')
-rw-r--r--chinese/wordpress-zh_CN/Makefile2
-rw-r--r--chinese/wordpress-zh_TW/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/chinese/wordpress-zh_CN/Makefile b/chinese/wordpress-zh_CN/Makefile
index 2cbab174ef88..08520e631fc4 100644
--- a/chinese/wordpress-zh_CN/Makefile
+++ b/chinese/wordpress-zh_CN/Makefile
@@ -33,7 +33,9 @@ SUB_FILES= pkg-message
pre-everything::
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
@${ECHO_CMD} ""
+. if !(defined(PACKAGE_BUILDING) || defined(BATCH))
@sleep 1
+. endif
pre-install:
${ECHO_CMD} '@owner www' > ${PLIST}
diff --git a/chinese/wordpress-zh_TW/Makefile b/chinese/wordpress-zh_TW/Makefile
index 50aaaf5f6a39..5b8c4b4b5a8d 100644
--- a/chinese/wordpress-zh_TW/Makefile
+++ b/chinese/wordpress-zh_TW/Makefile
@@ -33,7 +33,9 @@ SUB_FILES= pkg-message
pre-everything::
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
@${ECHO_CMD} ""
+. if !(defined(PACKAGE_BUILDING) || defined(BATCH))
@sleep 1
+. endif
pre-install:
${ECHO_CMD} '@owner www' > ${PLIST}