2005-07-16 21:10:37 +02:00
|
|
|
# $NetBSD: Makefile.subpackage,v 1.9 2005/07/16 19:10:41 jlam Exp $
|
2003-06-23 09:14:47 +02:00
|
|
|
#
|
|
|
|
# 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
|
2003-09-04 09:34:59 +02:00
|
|
|
PATCHDIR= ${.CURDIR}/../../x11/p5-gtk/patches
|
2003-06-23 09:14:47 +02:00
|
|
|
|
2003-07-22 02:00:43 +02:00
|
|
|
DEPENDS+= p5-gtk-[0-9]*:../../x11/p5-gtk
|
|
|
|
|
2004-01-20 13:28:26 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/${SUBPACKAGE}
|
|
|
|
|
2005-01-22 18:26:22 +01:00
|
|
|
post-patch:
|
2003-06-23 09:14:47 +02:00
|
|
|
cd ${GTKDIR} && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
|
|
|
cd ${GTKDIR} && ${SETENV} ${MAKE_ENV} \
|
2004-12-03 16:14:50 +01:00
|
|
|
${MAKE_PROGRAM} -f ${MAKEFILE} ${BUILD_TARGET}
|
2003-06-23 09:14:47 +02:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
2004-04-25 04:21:06 +02:00
|
|
|
.include "../../x11/gtk/buildlink3.mk"
|
2003-11-25 13:08:00 +01:00
|
|
|
|
2003-06-23 09:14:47 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|