summaryrefslogtreecommitdiff
path: root/x11/p5-gtk/Makefile.subpackage
blob: c7e57d51fcca1246bf52628ccb5da12867f25e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: Makefile.subpackage,v 1.6 2004/04/25 02:21:06 xtraeme Exp $
#
# makefile fragment for p5-gtk sub-packages.  you need to
# set SUBPACKAGE before including this.

GTKDIR=		${WRKDIR}/${DISTNAME}/Gtk

DISTINFO_FILE=	${.CURDIR}/../../x11/p5-gtk/distinfo
PATCHDIR=	${.CURDIR}/../../x11/p5-gtk/patches

DEPENDS+=	p5-gtk-[0-9]*:../../x11/p5-gtk

WRKSRC=		${WRKDIR}/${DISTNAME}/${SUBPACKAGE}

.include "../../lang/perl5/buildlink3.mk"

pre-configure:
	cd ${GTKDIR} && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
	cd ${GTKDIR} && ${SETENV} ${MAKE_ENV} \
			${MAKE_PROGRAM} -f ${MAKEFILE} ${ALL_TARGET}

.include "../../lang/perl5/module.mk"
.include "../../x11/gtk/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"