On Sun, 6 Apr 2008, Matthias Kilian wrote:
> On Fri, Mar 21, 2008 at 09:00:40AM +0100, Giovanni Bechis wrote:
> > Tk::Splash implements a splash screen widget for Perl/Tk.
> > 
> > This port is used by the new version of graphics/mapivi
> > Port available at http://bigio.snb.it/openbsd/p5-Tk-Splash-0.14.tgz
> 
> I'd like to import it with the following diff, but only with an ok
> from some of the perl guys ;-)
> 
> (regress stuff shamelessly stolen from x11/p5-Tk)

Wouldn't REGRESS_IS_INTERACTIVE be needed?
(just asking, I didn't try it).





> --- Makefile.orig     Thu Mar 13 20:22:06 2008
> +++ Makefile  Sun Apr  6 21:52:10 2008
> @@ -4,7 +4,7 @@ COMMENT=      splash screen widget
>  
>  DISTNAME=    Tk-Splash-0.14
>  PKGNAME=     p5-${DISTNAME}
> -CATEGORIES=  x11 devel perl5
> +CATEGORIES=  x11 devel
>  
>  # GPL
>  PERMIT_PACKAGE_CDROM=        Yes
> @@ -18,5 +18,14 @@ RUN_DEPENDS=       ::x11/p5-Tk
>  BUILD_DEPENDS=       ${RUN_DEPENDS}
>  
>  CONFIGURE_STYLE= perl
> +
> +USE_X11=     Yes
> +
> +REGRESS_FLAGS=       DISPLAY="${DISPLAY}" XAUTHORITY="${HOME}/.Xauthority"
> +
> +pre-regress:
> +.ifndef DISPLAY
> +     @echo requires access to X11; exit 1
> +.endif
>  
>  .include <bsd.port.mk>
> 
> 

-- 
Antoine

Reply via email to