sthen bcb4e70bf6 Subpackaged perl port; needs to carry WANTLIB across to the -main subpackage
otherwise it won't be updated for perl XS ABI changes. Also don't need a
WANTLIB for -demo.

Problem hit by nigel@ doing partial dpb rebuilds
2014-03-25 17:07:22 +00:00

38 lines
693 B
Makefile

# $OpenBSD: Makefile,v 1.50 2014/03/25 17:07:22 sthen Exp $
SHARED_ONLY= Yes
COMMENT-main= Tk 8.4 bindings for Perl
COMMENT-demo= demonstrate the features of ptk
MODULES= cpan
VERSION= 804.030
REVISION= 2
DISTNAME= Tk-${VERSION}
PKGNAME-main= p5-Tk-${VERSION}
PKGNAME-demo= p5-Tk-demo-${VERSION}
CATEGORIES= x11 devel
# GPL + custom
PERMIT_PACKAGE_CDROM= Yes
MULTI_PACKAGES= -main -demo
WANTLIB-main= ${WANTLIB} X11 m z png
LIB_DEPENDS-main= 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}/PNG/Makefile.PL
.include <bsd.port.mk>