pkgsrc/x11/p5-gtk/Makefile
veego 63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00

27 lines
742 B
Makefile

# $NetBSD: Makefile,v 1.17 2001/10/18 15:20:53 veego Exp $
#
DISTNAME= Gtk-Perl-0.7008
PKGNAME= p5-gtk-0.7008
SVR4_PKGNAME= p5gtk
WRKSRC= ${WRKDIR}/${DISTNAME}/Gtk
CATEGORIES= x11 perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Gtk/} \
ftp://ftp.gtk.org/pub/gtk/perl/
MAINTAINER= root@garbled.net
COMMENT= Perl bindings for GTK+
BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Writer
BUILD_DEPENDS+= p5-XML-Writer-[0-9]*:../../textproc/p5-XML-Writer
USE_X11= YES
USE_PERL5= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Gtk/.packlist
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
INSTALLMAN3DIR=${PREFIX}/man/man3
.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"