# New ports collection makefile for: calctool-2.4pl13 # Date created: 2 Dec 1996 # Whom: nsayer@quack.kfu.com # # $FreeBSD$ # PORTNAME= calctool PORTVERSION= 2.4.13 PORTREVISION= 5 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= nsayer DISTNAME= calctool-2.4pl13 MAINTAINER= ports@FreeBSD.org COMMENT= A multi-GUI (terminal, X, XView) calculator program USE_LDCONFIG= yes OPTIONS= X11 "Build X11 version of calctool" on \ TTY "Build tty version of calctool" on \ XVIEW "Build tty version of calctool" off MAN1= calctool.1 .include .if !defined(WITHOUT_X11) USE_XORG= x11 BINARIES+= xcalctool PLIST_SUB+= X11="" .else PLIST_SUB+= X11="@comment " .endif .if !defined(WITHOUT_TTY) BINARIES+= tty_calctool PLIST_SUB+= TTY="" .else PLIST_SUB+= TTY="@comment " .endif .if defined(WITH_XVIEW) BINARIES+= xv_calctool LIB_DEPENDS+= xview.3:${PORTSDIR}/x11-toolkits/xview PLIST_SUB+= XVIEW="" .else PLIST_SUB+= XVIEW="@comment " .endif .if ${ARCH} == "sparc64" FPIC= -fPIC .else FPIC= -fpic .endif post-patch: @${REINPLACE_CMD} -e "s#%%FPIC%%#${FPIC}#g" \ -e "s#%%LOCALBASE%%#${LOCALBASE}#g" \ -e "s#%%BINARIES%%#${BINARIES}#g" \ -e "s#%%DATADIR%%#${DATADIR}#g" \ ${WRKSRC}/Makefile do-install: ${MKDIR} ${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/libcalctool.so.1 ${PREFIX}/lib @(cd ${PREFIX}/lib; ${LN} -sf libcalctool.so.1 libcalctool.so) .for BIN in ${BINARIES} ${INSTALL_PROGRAM} ${WRKSRC}/${BIN} ${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/calctool.1 ${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/calctool.help ${DATADIR} .include option value='dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Remove expired ports of Haskell libraries.Gleb Popov2019-05-093-26/+0
* Mark almost all Haskell ports for expiration by mid AprilTobias C. Berner2019-03-311-0/+3
* lang/ghc: Update to 8.6.3 and bump PORTREVISION's of all Haskell ports.Gleb Popov2019-01-06