Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2013 09:01:42 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322550 - head/accessibility/accerciser
Message-ID:  <201307090901.r6991gBJ023899@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jul  9 09:01:41 2013
New Revision: 322550
URL: http://svnweb.freebsd.org/changeset/ports/322550

Log:
  Use USES=display:configure instead of custom implementation
  While here:
  - Trim headers
  - convert USE_GMAKE to USES=gmake

Modified:
  head/accessibility/accerciser/Makefile

Modified: head/accessibility/accerciser/Makefile
==============================================================================
--- head/accessibility/accerciser/Makefile	Tue Jul  9 08:51:35 2013	(r322549)
+++ head/accessibility/accerciser/Makefile	Tue Jul  9 09:01:41 2013	(r322550)
@@ -1,10 +1,6 @@
-# New ports collection makefile for:	accerciser
-# Date created:		2007-09-17
-# Whom:			Michael Johnson <ahze@FreeBSD.org>
-#
+# Created by: Michael Johnson <ahze@FreeBSD.org>
 # $FreeBSD$
 #   $MCom: ports/accessibility/accerciser/Makefile,v 1.36 2010/04/27 21:38:19 kwm Exp $
-#
 
 PORTNAME=	accerciser
 PORTVERSION=	1.12.1
@@ -17,34 +13,16 @@ MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Interactive Python accessibility explorer for GNOME
 
 USE_BZIP2=	yes
-USE_GMAKE=	yes
 USE_GNOME=	pygnomedesktop atspi intlhack
 USE_PYTHON=	yes
-USES=		gettext
+USES=		gettext gmake display:configure
 INSTALLS_OMF=	yes
 INSTALLS_ICONS=	yes
 GNU_CONFIGURE=	yes
-USE_DISPLAY=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 GCONF_SCHEMAS=	accerciser.schemas
 MAN1=		accerciser.1
 
-.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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307090901.r6991gBJ023899>