diff options
author | Will Andrews <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
commit | 1e60866cc19e399726a715fe8f90de75614755d9 (patch) | |
tree | 919603a1bf324ecbe31827d6a9441e11e58f98a0 /x11-toolkits | |
parent | Use the distfiles now on ftp.freebsd.org instead of from my home directory (diff) |
Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX.
Add some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many
miscellaneous modifications. I used more excessive hacks to force p5-Jcode
and p5-WWW-Search to respect CC/CFLAGS.
Patches largely done by: Christian Weisgerber <naddy@mips.inka.de>
Notes
Notes:
svn path=/head/; revision=29658
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/p5-Gtk/Makefile | 11 | ||||
-rw-r--r-- | x11-toolkits/p5-Tcl-Tk/Makefile | 12 | ||||
-rw-r--r-- | x11-toolkits/p5-TclTk/Makefile | 12 | ||||
-rw-r--r-- | x11-toolkits/p5-Tk/Makefile | 16 |
4 files changed, 29 insertions, 22 deletions
diff --git a/x11-toolkits/p5-Gtk/Makefile b/x11-toolkits/p5-Gtk/Makefile index 144c41af4773..5fbcce3abd6c 100644 --- a/x11-toolkits/p5-Gtk/Makefile +++ b/x11-toolkits/p5-Gtk/Makefile @@ -5,25 +5,26 @@ # $FreeBSD$ # -PORTNAME= p5-Gtk +PORTNAME= Gtk PORTVERSION= 0.7000 CATEGORIES= x11-toolkits lang perl5 MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/perl/ \ ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Gtk -DISTNAME= Gtk-Perl-0.7000 +DISTNAME= ${PORTNAME}-Perl-${PORTVERSION} +PKGNAMEPREFIX= p5- MAINTAINER= vanilla@FreeBSD.org LIB_DEPENDS= gdk_imlib.5:${PORTSDIR}/graphics/imlib -USE_PERL5= YES +USE_PERL5= yes MAN3= Gtk::GtkColorSelectButton.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ - --with-gdkimlib --without-gnome + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + --with-gdkimlib --without-gnome CC="${CC}" CCFLAGS="${CFLAGS}" .include <bsd.port.mk> diff --git a/x11-toolkits/p5-Tcl-Tk/Makefile b/x11-toolkits/p5-Tcl-Tk/Makefile index e8c1d24ca93b..c0590bf50b1b 100644 --- a/x11-toolkits/p5-Tcl-Tk/Makefile +++ b/x11-toolkits/p5-Tcl-Tk/Makefile @@ -5,26 +5,26 @@ # $FreeBSD$ # -PORTNAME= p5-Tcl-Tk +PORTNAME= TclTk PORTVERSION= b2 CATEGORIES= x11-toolkits lang perl5 tk82 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Tcl -DISTNAME= TclTk-b2 +PKGNAMEPREFIX= p5- MAINTAINER= jfitz@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/Tcl.pm:${PORTSDIR}/lang/p5-Tcl LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 -USE_PERL5= YES - -WRKSRC= ${WRKDIR}/TclTk +USE_PERL5= yes +WRKSRC= ${WRKDIR}/${PORTNAME} MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Tcl::Tk.3 do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + CC="${CC}" CCFLAGS="${CFLAGS}" .include <bsd.port.mk> diff --git a/x11-toolkits/p5-TclTk/Makefile b/x11-toolkits/p5-TclTk/Makefile index e8c1d24ca93b..c0590bf50b1b 100644 --- a/x11-toolkits/p5-TclTk/Makefile +++ b/x11-toolkits/p5-TclTk/Makefile @@ -5,26 +5,26 @@ # $FreeBSD$ # -PORTNAME= p5-Tcl-Tk +PORTNAME= TclTk PORTVERSION= b2 CATEGORIES= x11-toolkits lang perl5 tk82 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Tcl -DISTNAME= TclTk-b2 +PKGNAMEPREFIX= p5- MAINTAINER= jfitz@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/Tcl.pm:${PORTSDIR}/lang/p5-Tcl LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 -USE_PERL5= YES - -WRKSRC= ${WRKDIR}/TclTk +USE_PERL5= yes +WRKSRC= ${WRKDIR}/${PORTNAME} MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Tcl::Tk.3 do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + CC="${CC}" CCFLAGS="${CFLAGS}" .include <bsd.port.mk> diff --git a/x11-toolkits/p5-Tk/Makefile b/x11-toolkits/p5-Tk/Makefile index 5e5783724277..0ef8793e12ab 100644 --- a/x11-toolkits/p5-Tk/Makefile +++ b/x11-toolkits/p5-Tk/Makefile @@ -5,17 +5,18 @@ # $FreeBSD$ # -PORTNAME= p5-Tk +PORTNAME= Tk PORTVERSION= 800.021 CATEGORIES= x11-toolkits tk80 perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Tk -DISTNAME= Tk${PORTVERSION} +DISTNAME= ${PORTNAME}${PORTVERSION} +PKGNAMEPREFIX= p5- MAINTAINER= jfitz@FreeBSD.org -USE_XLIB= YES -USE_PERL5= YES +USE_XLIB= yes +USE_PERL5= yes MAN1= ptked.1 \ ptksh.1 \ @@ -124,6 +125,11 @@ MAN3= Tk.3 \ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PREFIX=${PREFIX} INSTALLSCRIPT=${PREFIX}/bin INSTALLMAN1DIR=${PREFIX}/man/man1 + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + PREFIX=${PREFIX} CC="${CC}" CCFLAGS="${CFLAGS}" + @${PERL} -i -p \ + -e 's/^(CC = ).*/$$1 ${CC}/;' \ + -e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' \ + `find ${WRKSRC} -name Makefile` .include <bsd.port.mk> |