summaryrefslogtreecommitdiff
path: root/x11/p5-gtk/Makefile.common
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2003-06-23 07:14:47 +0000
committermrg <mrg@pkgsrc.org>2003-06-23 07:14:47 +0000
commit82a4fce427f168b887a3546ec54c25e2277841bc (patch)
tree9c39a51266fb57c01232e5803eec85f2f20acf40 /x11/p5-gtk/Makefile.common
parent8d5a4f375719b7b7a085769fd5402098ddf38217 (diff)
downloadpkgsrc-82a4fce427f168b887a3546ec54c25e2277841bc.tar.gz
part 1 to fix PR pkg/21891: split common parts of p5-gtk and it's sub
packages out, and have a generic method of building a sub package.
Diffstat (limited to 'x11/p5-gtk/Makefile.common')
-rw-r--r--x11/p5-gtk/Makefile.common16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/p5-gtk/Makefile.common b/x11/p5-gtk/Makefile.common
new file mode 100644
index 00000000000..15c901c85f7
--- /dev/null
+++ b/x11/p5-gtk/Makefile.common
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile.common,v 1.1 2003/06/23 07:14:48 mrg Exp $
+#
+# common things for p5-gtk based packages
+
+GTKPERL_VERSION= 0.7008
+DISTNAME= Gtk-Perl-${GTKPERL_VERSION}
+
+CATEGORIES= x11 perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Gtk/} \
+ ftp://ftp.gtk.org/pub/gtk/perl/
+
+BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+BUILD_DEPENDS+= p5-XML-Writer-[0-9]*:../../textproc/p5-XML-Writer
+
+USE_BUILDLINK2= YES
+USE_X11= YES