1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/misc/fcalc/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

39 lines
974 B
Makefile

# New ports collection makefile for: fcalc
# Date Created: 11 jun 2006
# Whom: Serge Gagnon <serge.gagnon@b2b2c.ca>
#
# $FreeBSD$
#
PORTNAME= fcalc
PORTVERSION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/
DISTNAME= ${PORTNAME}-tcl
MAINTAINER= serge.gagnon.1@ulaval.ca
COMMENT= F/Calc is a calculator for photographic formulas
RUN_DEPENDS= ${LOCALBASE}/lib/tix8.1/Tix.tcl:${PORTSDIR}/x11-toolkits/tix
NO_BUILD= yes
USE_XORG= x11 xt
USE_TK_RUN= 84
WRKSRC= ${WRKDIR}/${PORTNAME}-1.00
post-patch:
${REINPLACE_CMD} -e 's|BINDIR=/usr/local/bin|BINDIR=${PREFIX}/bin|' \
-e 's|LIBDIR=/usr/local/lib/fcalc|LIBDIR=${PREFIX}/lib/fcalc|' \
${WRKSRC}/INSTALL
${REINPLACE_CMD} -e 's|netscape|firefox|' ${WRKSRC}/Dialogs.tcl
${REINPLACE_CMD} -e 's|exec wish|exec wish8.4|' \
-e 's|^set libDir.*||' -e 's|^#set libDir|set libDir|' \
${WRKSRC}/fcalc
do-install:
cd ${WRKSRC}; ./INSTALL
.include <bsd.port.mk>