From owner-freebsd-ports@FreeBSD.ORG Sun May 23 02:11:38 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D9611065670 for ; Sun, 23 May 2010 02:11:38 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.211.175]) by mx1.freebsd.org (Postfix) with ESMTP id 3EBC48FC0A for ; Sun, 23 May 2010 02:11:37 +0000 (UTC) Received: by ywh5 with SMTP id 5so1489760ywh.13 for ; Sat, 22 May 2010 19:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type; bh=te+9Phx8dMUByvThzdO0IK7KDLgSI6sW09JFGYDVDQs=; b=IfUPY1WK8FXbgHz3ggiaWrEdqY0ml6NRbVNzIQRZwBPlQtk9bDb/vr419xbaCNzNoC LEQ7MFAFbspE46dnoUMzPfTuvFYYhV6QHHJzoB4jyO0ja7cO/9QKTvlntV8zF5V8WMpq xMVvh17vw24hkIaTQMTCSwdx2qbfd4+veUqiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type; b=nh67WiWB3xgPcZMQmiczK4sQfaiNXeNkPJdyCgbmxzkBbzyQVKrtEobDXT/ncgWWtW 7RzePMfk0VOQEPrcKO4k+p+7DYxjRtVBkLaiksNFLWvO3m/KEaGPvUn5heYDpcZJ9+0w uMteKkhqN6QU8OyGlkK9+/yn0PmMUXH6AEj+8= Received: by 10.150.213.15 with SMTP id l15mr4818519ybg.202.1274580697581; Sat, 22 May 2010 19:11:37 -0700 (PDT) Received: from centel.dataix.local (adsl-99-19-40-41.dsl.klmzmi.sbcglobal.net [99.19.40.41]) by mx.google.com with ESMTPS id 20sm1964628ywh.3.2010.05.22.19.11.36 (version=SSLv3 cipher=RC4-MD5); Sat, 22 May 2010 19:11:36 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4BF88ED7.5020309@dataix.net> Date: Sat, 22 May 2010 22:11:35 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100515 Thunderbird MIME-Version: 1.0 To: Anonymous References: <4BF85A4A.8060209@missouri.edu> <86632fa5d4.fsf@gmail.com> In-Reply-To: <86632fa5d4.fsf@gmail.com> X-Enigmail-Version: 1.0.1 OpenPGP: id=89D8547E Content-Type: multipart/mixed; boundary="------------080905030201060203050800" Cc: Stephen Montgomery-Smith , freebsd-ports@freebsd.org Subject: Re: How to extract tcl src X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 02:11:38 -0000 This is a multi-part message in MIME format. --------------080905030201060203050800 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 05/22/2010 19:23, Anonymous wrote: > BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/tcl85:extract Attached is the Makefile I just edited to configure against tcl and tk 8.5 instead of 8.4. I have verified it for functionality (as in) extract, configure, make & install only. Before I made the mods I did not make a original copy so this is why I did not provide a unified diff but I have bumped the the PORTREVISION from _1 to _2 and it should be ready to be committed as this was a pretty trivial change. The most significant change mentioned above was changed to: BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/tcl85:configure This was needed to provide configured values that graphics/togl would then read. Regards, -- jhell --------------080905030201060203050800 Content-Type: text/plain; name="Makefile" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile" # New ports collection makefile for: Togl # Date created: Wed Aug 18 18:49:17 EDT 1999 # Whom: Randall Hopper # # $FreeBSD: ports/graphics/togl/Makefile,v 1.20 2009/08/22 00:23:10 amdmi3 Exp $ # PORTNAME= togl PORTVERSION= 1.7 PORTREVISION= 2 CATEGORIES= graphics tk MASTER_SITES= SF/${PORTNAME}/Togl/${PORTVERSION} DISTNAME= Togl-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A Tk OpenGL widget BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/tcl85:configure LIB_DEPENDS= tk85.1:${PORTSDIR}/x11-toolkits/tk85 \ tcl85.1:${PORTSDIR}/lang/tcl85 USE_GMAKE= yes GNU_CONFIGURE= yes USE_GL= yes USE_XORG= x11 xt xmu MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include/tk8.5" \ LDFLAGS="-L${LOCALBASE}/lib/tk8.5" CONFIGURE_ARGS= --with-tk=${LOCALBASE}/lib/tk8.5 \ --with-tcl=${LOCALBASE}/lib/tcl8.5 \ --with-tclinclude=${LOCALBASE}/include/tcl8.5 \ TOGL_INSTDIR= ${PREFIX}/lib/tk8.5/${DISTNAME} PLIST_SUB= TOGL_INSTDIR=${TOGL_INSTDIR:S,^${PREFIX}/,,} .if !defined(NOPORTDOCS) PORTDOCS= * .endif post-patch: @${REINPLACE_CMD} -e 's|wish |wish8.5 |' ${WRKSRC}/*.tcl do-install: @${MKDIR} ${TOGL_INSTDIR} ${INSTALL_DATA} ${WRKSRC}/libTogl1.7.so ${TOGL_INSTDIR}/togl.so ${INSTALL_DATA} ${WRKSRC}/togl.h ${WRKSRC}/pkgIndex.tcl ${TOGL_INSTDIR} @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/Makefile ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/double.c ${WRKSRC}/double.tcl ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gears.c ${WRKSRC}/gears.tcl ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/index.c ${WRKSRC}/index.tcl ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/overlay.c ${WRKSRC}/overlay.tcl ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/stereo.c ${WRKSRC}/stereo.tcl ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/texture.c ${WRKSRC}/texture.tcl ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/image.c ${WRKSRC}/image.h ${WRKSRC}/ben.rgb ${WRKSRC}/tree2.rgba ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Togl.html ${DOCSDIR} .endif .include --------------080905030201060203050800--