aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/display.mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-17 13:31:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-17 13:31:25 +0000
commite8796ef61223223030544d2fe1b51be11e5e648b (patch)
tree15b8ce30f8e7f1a99871e40ce43b8bd49254597d /Mk/Uses/display.mk
parent37e858edd18cfdef0c487e4ed9d4a989c8972609 (diff)
downloadports-e8796ef61223223030544d2fe1b51be11e5e648b.tar.gz
ports-e8796ef61223223030544d2fe1b51be11e5e648b.zip
Notes
Diffstat (limited to 'Mk/Uses/display.mk')
-rw-r--r--Mk/Uses/display.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mk/Uses/display.mk b/Mk/Uses/display.mk
index b3aec5a49f33..de7e1bc42b29 100644
--- a/Mk/Uses/display.mk
+++ b/Mk/Uses/display.mk
@@ -26,11 +26,7 @@ XVFBPORT!= port=0; while test -S /tmp/.X11-unix/X$${port} ; do port=$$(( port +
XVFBPIDFILE= /tmp/.xvfb-${XVFBPORT}.pid
MAKE_ENV+= DISPLAY=":${XVFBPORT}"
-.PHONY: start-display stop-display
-pre-${display_ARGS}: start-display
-
-post-${display_ARGS}: stop-display
-
+_USES_${display_ARGS}+= 290:start-display 860:stop-display
start-display:
daemon -p ${XVFBPIDFILE} Xvfb :${XVFBPORT}