# New ports collection makefile for:    wingz
# Date created:         Wed Nov 27 09:15:10 CST 1996
# Whom:                 erich@rrnet.com
#
# $FreeBSD: ports/math/wingz3/Makefile,v 1.20 2006/01/31 04:00:42 mi Exp $
#

PORTNAME=	wingzpro
PORTVERSION=	311
PORTREVISION=	2
CATEGORIES=	math linux
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=apps/financial/spreadsheet
EXTRACT_ONLY=

MAINTAINER=	mi@aldan.algebra.com
COMMENT=	A Commercial Spreadsheet

NO_PACKAGE=	"nothing to build. commercial software"

ONLY_FOR_ARCHS=	i386 amd64
USE_LINUX=	yes
USE_X_PREFIX=	yes

NO_BUILD=	yes

# XXX: this is missing "${BRANDELF} -t Linux <executables>"

do-install:
	${TAR} -xzp -C ${X11BASE} -f ${DISTDIR}/${DISTFILES}
	${SED} 's%_X11BASE_%${X11BASE}%' \
		< ${FILESDIR}/Wingz3 \
		> ${X11BASE}/bin/Wingz3
	${CHMOD} 755 ${X11BASE}/bin/Wingz3

.include <bsd.port.mk>
