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 /lang/p5-Expect | |
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 'lang/p5-Expect')
-rw-r--r-- | lang/p5-Expect/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/p5-Expect/Makefile b/lang/p5-Expect/Makefile index 88e6e011aa17..4e99b698fef3 100644 --- a/lang/p5-Expect/Makefile +++ b/lang/p5-Expect/Makefile @@ -5,25 +5,26 @@ # $FreeBSD$ # -PORTNAME= p5-Expect +PORTNAME= Expect PORTVERSION= 1.07 CATEGORIES= lang perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Expect -DISTNAME= Expect.pm-1.07 +DISTNAME= ${PORTNAME}.pm-${PORTVERSION} +PKGNAMEPREFIX= p5- MAINTAINER= will@FreeBSD.org -BUILD_DEPENDS= ${SITE_PERL}/IO-Tty.pm:${PORTSDIR}/devel/p5-IO-Tty \ - ${SITE_PERL}/IO-Stty.pm:${PORTSDIR}/devel/p5-IO-Stty +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/IO/Tty.pm:${PORTSDIR}/devel/p5-IO-Tty \ + ${SITE_PERL}/IO/Stty.pm:${PORTSDIR}/devel/p5-IO-Stty RUN_DEPENDS= ${BUILD_DEPENDS} -SITE_PERL= ${PREFIX}/lib/perl5/site_perl/${PERL_VER} +SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} USE_PERL5= yes MAN3= Expect.3 Expect_intro.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} do-configure: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL LDDLFLAGS=-shared LDFLAGS=-L/usr/lib) + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL .include <bsd.port.mk> |