Date: Mon, 5 Jan 2009 13:23:24 +0100 (CET) From: Martin Matuska <mm@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/130183: [PATCH] converters/xdeview switch to USE_TCL Message-ID: <20090105122324.2F6884AD82@mail.vx.sk> Resent-Message-ID: <200901051230.n05CU49f066110@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130183 >Category: ports >Synopsis: [PATCH] converters/xdeview switch to USE_TCL >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 05 12:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: RebuM >Release: FreeBSD 7.1-RELEASE i386/amd64 >Organization: >Environment: System: FreeBSD 7.1-RELEASE i386/amd64 >Description: - switch to USE_TK infrastructure - add support for tk82,tk83,tk84,tk85 >How-To-Repeat: >Fix: Index: ports/converters/xdeview/Makefile =================================================================== RCS file: /home/pcvs/ports/converters/xdeview/Makefile,v retrieving revision 1.32 diff -u -r1.32 Makefile --- ports/converters/xdeview/Makefile 19 Apr 2008 17:47:09 -0000 1.32 +++ ports/converters/xdeview/Makefile 5 Jan 2009 12:22:03 -0000 @@ -7,7 +7,7 @@ PORTNAME= xdeview PORTVERSION= 0.5.20 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= converters tcl tk MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/ DISTNAME= uudeview-${PORTVERSION} @@ -22,12 +22,6 @@ # Explicitly disable Tcl otherwise the configure script picks-up # crud from the $PATH lie /usr/opt/Simili/tcl/. CONFIGURE_ARGS= --disable-tcl --disable-tk -# Season to taste --- anything better or equal to tcl8.0 is probably okay -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib \ - -lX11 -ltcl84 -ltk84 -lm" \ - CPPFLAGS="-I${LOCALBASE}/include/tcl8.4 -DHAVE_TCL \ - -I${LOCALBASE}/include/tk8.4 -DHAVE_TK \ - -I${LOCALBASE}/include" ALL_TARGET= xdeview INSTALL_TARGET= install-tcl @@ -35,6 +29,16 @@ DOCFILES= ${FILESDIR}/porting.notes +USE_TK= 82+ + +.include <bsd.port.pre.mk> +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib \ + -lX11 -ltcl${TCL_VER:S/.//} \ + -ltk${TCL_VER:S/.//} -lm" \ + CPPFLAGS="-I${TCL_INCLUDEDIR} -DHAVE_TCL \ + -I${TK_INCLUDEDIR} -DHAVE_TK \ + -I${LOCALBASE}/include" + post-install: ${STRIP_CMD} ${PREFIX}/bin/uuwish .if !defined(NOPORTDOCS) @@ -46,4 +50,4 @@ .endif ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090105122324.2F6884AD82>