mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Convert to USES=display:configure gmake
This commit is contained in:
parent
6ebcf86c50
commit
b6f7a42432
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322517
@ -24,8 +24,7 @@ RUN_DEPENDS= gnuchess:${PORTSDIR}/games/gnuchess \
|
||||
gnucap:${PORTSDIR}/cad/gnucap
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USES= gettext
|
||||
USES= gettext gmake display:configure
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GSTREAMER= yes
|
||||
USE_PYTHON= -2.7
|
||||
@ -46,20 +45,4 @@ post-patch:
|
||||
's|-DGNOME_DISABLE_DEPRECATED||g'
|
||||
@${FIND} ${WRKSRC} -type f -name "*.bak" -delete
|
||||
|
||||
.if !defined(DISPLAY)
|
||||
pre-configure:
|
||||
@if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
|
||||
${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
|
||||
${RM} -f ${WRKDIR}/.Xvfb.pid ; \
|
||||
fi
|
||||
${LOCALBASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid
|
||||
@sleep 5
|
||||
|
||||
post-configure:
|
||||
@if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
|
||||
${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
|
||||
${RM} -f ${WRKDIR}/.Xvfb.pid ; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user