blob: 2b3a7288d7db2e13a69a91c601dd943f3ffe49fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: xdeview
# Date Created: 9 Feb 1997
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
#
# $FreeBSD$
#
PORTNAME= xdeview
PORTVERSION= 0.5.18
CATEGORIES= converters tk83
MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/
DISTNAME= uudeview-${PORTVERSION}
MAINTAINER= hoek@FreeBSD.org
COMMENT= An X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding
LIB_DEPENDS= uu.2:${PORTSDIR}/converters/uulib \
tk83.1:${PORTSDIR}/x11-toolkits/tk83
GNU_CONFIGURE= yes
# 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
post-install:
strip ${PREFIX}/bin/uuwish
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documents to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
.else
@${ECHO_MSG} "===> Not installing available documents"
.endif
${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
|