openbsd-ports/x11/p5-Tk/Makefile

48 lines
960 B
Makefile
Raw Normal View History

2006-11-21 15:58:51 -05:00
# $OpenBSD: Makefile,v 1.27 2006/11/21 20:58:51 espie Exp $
2006-11-21 15:58:51 -05:00
SHARED_ONLY= Yes
2006-11-21 15:58:51 -05:00
COMMENT-main= "Tk 8.4 bindings for Perl"
2002-04-21 07:05:46 -04:00
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}
2006-11-21 15:58:51 -05:00
PKGNAME-main= p5-Tk-${VERSION}p1
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>