View | Details | Raw Unified | Return to bug 130183
Collapse All | Expand All

(-)ports/converters/xdeview/Makefile (-8 / +12 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	xdeview
8
PORTNAME=	xdeview
9
PORTVERSION=	0.5.20
9
PORTVERSION=	0.5.20
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	converters tcl tk
11
CATEGORIES=	converters tcl tk
12
MASTER_SITES=	http://www.fpx.de/fp/Software/UUDeview/download/
12
MASTER_SITES=	http://www.fpx.de/fp/Software/UUDeview/download/
13
DISTNAME=	uudeview-${PORTVERSION}
13
DISTNAME=	uudeview-${PORTVERSION}
Lines 22-33 Link Here
22
# Explicitly disable Tcl otherwise the configure script picks-up
22
# Explicitly disable Tcl otherwise the configure script picks-up
23
# crud from the $PATH lie /usr/opt/Simili/tcl/.
23
# crud from the $PATH lie /usr/opt/Simili/tcl/.
24
CONFIGURE_ARGS=	--disable-tcl --disable-tk
24
CONFIGURE_ARGS=	--disable-tcl --disable-tk
25
# Season to taste --- anything better or equal to tcl8.0 is probably okay
26
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib \
27
			-lX11 -ltcl84 -ltk84 -lm" \
28
		CPPFLAGS="-I${LOCALBASE}/include/tcl8.4 -DHAVE_TCL \
29
			-I${LOCALBASE}/include/tk8.4 -DHAVE_TK \
30
			-I${LOCALBASE}/include"
31
25
32
ALL_TARGET=	xdeview
26
ALL_TARGET=	xdeview
33
INSTALL_TARGET=	install-tcl
27
INSTALL_TARGET=	install-tcl
Lines 35-40 Link Here
35
29
36
DOCFILES=	${FILESDIR}/porting.notes
30
DOCFILES=	${FILESDIR}/porting.notes
37
31
32
USE_TK=		82+
33
34
.include <bsd.port.pre.mk>
35
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib \
36
			-lX11 -ltcl${TCL_VER:S/.//} \
37
			-ltk${TCL_VER:S/.//} -lm" \
38
		CPPFLAGS="-I${TCL_INCLUDEDIR} -DHAVE_TCL \
39
			-I${TK_INCLUDEDIR} -DHAVE_TK \
40
			-I${LOCALBASE}/include"
41
38
post-install:
42
post-install:
39
	${STRIP_CMD} ${PREFIX}/bin/uuwish
43
	${STRIP_CMD} ${PREFIX}/bin/uuwish
40
.if !defined(NOPORTDOCS)
44
.if !defined(NOPORTDOCS)
Lines 46-49 Link Here
46
.endif
50
.endif
47
	${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1
51
	${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1
48
52
49
.include <bsd.port.mk>
53
.include <bsd.port.post.mk>

Return to bug 130183