openbsd-ports/x11/p5-Tk/Makefile

48 lines
923 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.32 2008/11/12 09:58:15 jasper 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
VERSION= 804.028
2002-04-21 07:05:46 -04:00
DISTNAME= Tk-${VERSION}
PKGNAME-main= p5-Tk-${VERSION}p1
PKGNAME-demo= p5-Tk-demo-${VERSION}
2006-11-21 15:58:51 -05:00
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:
@${SUBST_CMD} ${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>