summaryrefslogtreecommitdiffstats
path: root/lang/p5-Expect
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-17 02:37:15 +0000
committerwill <will@FreeBSD.org>2000-06-17 02:37:15 +0000
commit6dd7168cddcf03645b7b524d0eaec762ba4a5c26 (patch)
treedde5ee054b255f449dc09b875bfef1cb678c4d3e /lang/p5-Expect
parent09860925596143f36628cd7f462f54e90412d7ae (diff)
downloadFreeBSD-ports-6dd7168cddcf03645b7b524d0eaec762ba4a5c26.zip
FreeBSD-ports-6dd7168cddcf03645b7b524d0eaec762ba4a5c26.tar.gz
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>
Diffstat (limited to 'lang/p5-Expect')
-rw-r--r--lang/p5-Expect/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/p5-Expect/Makefile b/lang/p5-Expect/Makefile
index 88e6e011..4e99b69 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>
OpenPOWER on IntegriCloud