aboutsummaryrefslogtreecommitdiff
path: root/converters/xdeview/Makefile
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2002-09-02 03:59:06 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2002-09-02 03:59:06 +0000
commit48e321134adc0aa275cda54d29c90b65897b3b89 (patch)
tree4e00411751b09825a9db7d57aa2af03a444dfc59 /converters/xdeview/Makefile
parentc4e8cae58913c9a76653cc3c05d0eaa42f0bfa69 (diff)
downloadports-48e321134adc0aa275cda54d29c90b65897b3b89.tar.gz
ports-48e321134adc0aa275cda54d29c90b65897b3b89.zip
Update to xdeview 0.5.18.
Significantly inspired by PR: ports/41508
Notes
Notes: svn path=/head/; revision=65473
Diffstat (limited to 'converters/xdeview/Makefile')
-rw-r--r--converters/xdeview/Makefile25
1 files changed, 15 insertions, 10 deletions
diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile
index 5b6dd7ad9eec..ff0f7c864c34 100644
--- a/converters/xdeview/Makefile
+++ b/converters/xdeview/Makefile
@@ -6,27 +6,32 @@
#
PORTNAME= xdeview
-PORTVERSION= 0.5.13
-CATEGORIES= converters tk82
-MASTER_SITES= ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/ \
- http://www.informatik.uni-frankfurt.de/~fp/uudeview/Apps/frank/
+PORTVERSION= 0.5.18
+CATEGORIES= converters tk83
+MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/
DISTNAME= uudeview-${PORTVERSION}
MAINTAINER= hoek@FreeBSD.org
-LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
- uu.1:${PORTSDIR}/converters/uulib
+LIB_DEPENDS= uu.2:${PORTSDIR}/converters/uulib \
+ tk83.1:${PORTSDIR}/x11-toolkits/tk83
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-tcl="${PREFIX}" --enable-tk="${PREFIX}"
-# Season to taste --- anything over tcl7.5
-CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/tcl8.2 -I${PREFIX}/include/tk8.2"
+# 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 -L${X11BASE}/lib \
+ -lX11 -ltcl83 -ltk83 -lm" \
+ CPPFLAGS="-I${LOCALBASE}/include/tcl8.3 -DHAVE_TCL \
+ -I${LOCALBASE}/include/tk8.3 -DHAVE_TK \
+ -I${X11BASE}/include"
ALL_TARGET= xdeview
INSTALL_TARGET= install-tcl
MAN1= xdeview.1
-DOCFILES= ${FILESDIR}/porting.notes ${WRKSRC}/HOWTO
+DOCFILES= ${FILESDIR}/porting.notes
post-install:
strip ${PREFIX}/bin/uuwish