1997-03-30 00:55:56 +01:00
|
|
|
# New ports collection makefile for: xdeview
|
|
|
|
# Date Created: 9 Feb 1997
|
|
|
|
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1997-03-30 00:55:56 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= xdeview
|
2004-03-25 04:44:02 +01:00
|
|
|
PORTVERSION= 0.5.20
|
2003-08-17 09:46:23 +02:00
|
|
|
CATEGORIES= converters tcl84 tk84
|
2002-09-02 05:59:06 +02:00
|
|
|
MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/
|
2000-04-09 01:24:42 +02:00
|
|
|
DISTNAME= uudeview-${PORTVERSION}
|
1997-03-30 00:55:56 +01:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= hoek@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding
|
1997-03-30 00:55:56 +01:00
|
|
|
|
2004-01-18 15:55:42 +01:00
|
|
|
LIB_DEPENDS= uu.3:${PORTSDIR}/converters/uulib \
|
2003-08-17 09:46:23 +02:00
|
|
|
tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
1997-03-30 00:55:56 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-09-02 05:59:06 +02:00
|
|
|
# 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 \
|
2003-08-17 09:46:23 +02:00
|
|
|
-lX11 -ltcl84 -ltk84 -lm" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include/tcl8.4 -DHAVE_TCL \
|
|
|
|
-I${LOCALBASE}/include/tk8.4 -DHAVE_TK \
|
2002-09-02 05:59:06 +02:00
|
|
|
-I${X11BASE}/include"
|
1997-10-23 19:59:34 +02:00
|
|
|
|
1997-03-30 00:55:56 +01:00
|
|
|
ALL_TARGET= xdeview
|
|
|
|
INSTALL_TARGET= install-tcl
|
|
|
|
MAN1= xdeview.1
|
|
|
|
|
2002-09-02 05:59:06 +02:00
|
|
|
DOCFILES= ${FILESDIR}/porting.notes
|
1997-03-30 00:55:56 +01:00
|
|
|
|
|
|
|
post-install:
|
2003-09-24 11:37:11 +02:00
|
|
|
${STRIP_CMD} ${PREFIX}/bin/uuwish
|
1997-03-30 00:55:56 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-01-17 04:07:33 +01:00
|
|
|
@${ECHO_MSG} "===> Installing documents to ${DOCSDIR}"
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
|
1997-03-30 00:55:56 +01:00
|
|
|
.else
|
2002-01-17 04:07:33 +01:00
|
|
|
@${ECHO_MSG} "===> Not installing available documents"
|
1997-03-30 00:55:56 +01:00
|
|
|
.endif
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|