mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
37 lines
905 B
Makefile
37 lines
905 B
Makefile
# New ports collection makefile for: p5-Tcl-Tk
|
|
# Date created: June 15th 1997
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= TclTk
|
|
PORTVERSION= 0.75
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-toolkits lang perl5 tk
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= Tcl
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Perl5 module to access to Tk via the Tcl extension
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tcl.pm:${PORTSDIR}/lang/p5-Tcl
|
|
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Tcl::Tk.3
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL
|
|
|
|
do-configure:
|
|
-@cd ${CONFIGURE_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} \
|
|
${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
|
|
@cd ${CONFIGURE_WRKSRC} && \
|
|
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
|
|
|
|
.include <bsd.port.mk>
|