freebsd-ports/converters/xdeview/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

49 lines
1.4 KiB
Makefile

# 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.20
PORTREVISION= 1
CATEGORIES= converters tcl tk
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.3:${PORTSDIR}/converters/uulib \
tk84.1:${PORTSDIR}/x11-toolkits/tk84
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 \
-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
MAN1= xdeview.1
DOCFILES= ${FILESDIR}/porting.notes
post-install:
${STRIP_CMD} ${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>