2004-02-02 00:31:45 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2004/02/02 00:31:45 naddy Exp $
|
2004-01-17 15:58:06 +00:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
2001-03-28 22:08:29 +00:00
|
|
|
|
2002-04-21 11:05:46 +00:00
|
|
|
COMMENT= "Tk 8.0 bindings for Perl"
|
|
|
|
COMMENT-demo= "demonstrate the features of ptk"
|
2001-03-08 20:04:26 +00:00
|
|
|
|
2002-04-21 11:05:46 +00:00
|
|
|
VERSION= 800.024
|
|
|
|
DISTNAME= Tk-${VERSION}
|
|
|
|
PKGNAME= p5-Tk-${VERSION}
|
|
|
|
PKGNAME-demo= p5-Tk-demo-${VERSION}
|
|
|
|
CATEGORIES= x11 devel perl5
|
2001-03-08 20:04:26 +00:00
|
|
|
|
2002-04-21 11:05:46 +00:00
|
|
|
MAINTAINER= Shell Hung <shell@openbsd.org>
|
2001-03-08 20:04:26 +00:00
|
|
|
|
2003-10-08 17:13:14 +00:00
|
|
|
# GPL + custom
|
2001-03-08 20:04:26 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-02-02 00:31:45 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/}
|
2001-03-08 20:04:26 +00:00
|
|
|
|
2004-02-02 00:31:45 +00:00
|
|
|
MULTI_PACKAGES= -demo
|
2001-09-02 05:29:29 +00:00
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2004-02-02 00:31:45 +00:00
|
|
|
BUILD_DEPENDS= :p5-HTML-Parser-*:www/p5-HTML-Parser
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=perl
|
|
|
|
|
2002-04-21 11:05:46 +00:00
|
|
|
WRKDIST= ${WRKDIR}/Tk${VERSION}
|
|
|
|
|
2002-06-09 01:36:54 +00:00
|
|
|
REGRESS_IS_INTERACTIVE= Yes
|
|
|
|
MAKE_ENV= XAUTHORITY=${HOME}/.Xauthority
|
|
|
|
|
|
|
|
pre-regress:
|
|
|
|
.ifndef DISPLAY
|
|
|
|
@echo requires access to X; exit 1
|
|
|
|
.endif
|
|
|
|
|
2004-02-02 00:31:45 +00:00
|
|
|
.if defined(PACKAGING) && !empty(SUBPACKAGE)
|
|
|
|
RUN_DEPENDS= ::x11/p5-Tk
|
|
|
|
.endif
|
|
|
|
|
2001-03-08 20:04:26 +00:00
|
|
|
.include <bsd.port.mk>
|