openbsd-ports/x11/p5-Tk/Makefile
2021-02-19 18:01:20 +00:00

39 lines
728 B
Makefile

# $OpenBSD: Makefile,v 1.62 2021/02/19 18:01:20 ajacoutot Exp $
COMMENT-main= Tk 8.4 bindings for Perl
COMMENT-demo= demonstrate the features of ptk
MODULES= cpan
VERSION= 804.036
DISTNAME= Tk-${VERSION}
PKGNAME-main= p5-Tk-${VERSION}
PKGNAME-demo= p5-Tk-demo-${VERSION}
CATEGORIES= x11 devel
# GPL + custom
PERMIT_PACKAGE= Yes
WANTLIB-main= ${WANTLIB} X11 c m jpeg perl z png
MULTI_PACKAGES= -main -demo
MAKE_FLAGS= OPTIMIZE="${CFLAGS}"
LIB_DEPENDS-main = graphics/jpeg \
graphics/png
WANTLIB-demo=
RUN_DEPENDS= www/p5-HTML-Parser
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS-demo= x11/p5-Tk
PKG_ARCH-demo= *
TEST_IS_INTERACTIVE= x11
pre-configure:
${SUBST_CMD} ${WRKSRC}/JPEG/Makefile.PL
.include <bsd.port.mk>