openbsd-ports/x11/p5-Tk/Makefile

48 lines
958 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.29 2007/09/15 20:04:23 merdely Exp $
2006-11-21 15:58:51 -05:00
SHARED_ONLY= Yes
COMMENT-main= Tk 8.4 bindings for Perl
COMMENT-demo= demonstrate the features of ptk
2006-11-21 15:58:51 -05:00
MODULES= cpan
2005-01-12 22:23:09 -05:00
VERSION= 804.027
2002-04-21 07:05:46 -04:00
DISTNAME= Tk-${VERSION}
PKGNAME-main= p5-Tk-${VERSION}p2
2006-11-21 15:58:51 -05:00
PKGNAME-demo= p5-Tk-demo-${VERSION}p0
CATEGORIES= x11 devel
# GPL + custom
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2006-11-21 15:58:51 -05:00
MULTI_PACKAGES= -main -demo
2006-11-21 15:58:51 -05:00
WANTLIB-main= X11 m z
LIB_DEPENDS-main=png.>=4::graphics/png
2001-09-02 01:29:29 -04:00
RUN_DEPENDS= :p5-HTML-Parser-*:www/p5-HTML-Parser
BUILD_DEPENDS= ${RUN_DEPENDS}
2006-11-21 15:58:51 -05:00
RUN_DEPENDS-demo= ::x11/p5-Tk
PKG_ARCH-demo= *
USE_X11= Yes
2002-04-21 07:05:46 -04:00
2002-06-08 21:36:54 -04:00
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS= DISPLAY="${DISPLAY}" XAUTHORITY="${HOME}/.Xauthority"
pre-configure:
@perl -i -pe 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/PNG/Makefile.PL
2002-06-08 21:36:54 -04:00
pre-regress:
.ifndef DISPLAY
@echo requires access to X11; exit 1
2002-06-08 21:36:54 -04:00
.endif
.include <bsd.port.mk>