openbsd-ports/math/hoc/Makefile

35 lines
720 B
Makefile
Raw Normal View History

# Ports collection makefile for "hoc", the High Order Calculator
# $OpenBSD: Makefile,v 1.15 2000/12/14 13:23:00 espie Exp $
1998-09-16 15:35:08 -04:00
DISTNAME= hoc
PKGNAME= hoc-1.1
1998-09-16 15:35:08 -04:00
CATEGORIES= math
NEED_VERSION= 1.342
MASTER_SITES= http://cm.bell-labs.com/cm/cs/who/bwk/
1998-09-16 15:35:08 -04:00
EXTRACT_SUFX= .sh
MAINTAINER= Ian Darwin <ian@openbsd.org>
1998-09-16 15:35:08 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 01:29:49 -05:00
ALL_TARGET= hoc
2000-02-22 12:08:31 -05:00
MAKE_FILE= makefile
1998-09-16 15:35:08 -04:00
# Bug-fix for gcc 2.95.2
.if ${MACHINE_ARCH} == "i386"
pre-build:
cd ${WRKSRC} && make code.o CFLAGS=-O0
.endif
WRKDIST= ${WRKDIR}
1998-09-16 15:35:08 -04:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hoc ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hoc.1 ${PREFIX}/man/man1
1998-09-16 15:35:08 -04:00
.include <bsd.port.mk>