1999-10-27 12:53:35 -04:00
|
|
|
# Ports collection makefile for "hoc", the High Order Calculator
|
2000-12-14 08:22:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2000/12/14 13:23:00 espie Exp $
|
1998-09-16 15:35:08 -04:00
|
|
|
|
|
|
|
DISTNAME= hoc
|
1999-10-30 16:35:34 -04:00
|
|
|
PKGNAME= hoc-1.1
|
1998-09-16 15:35:08 -04:00
|
|
|
CATEGORIES= math
|
2000-12-14 08:22:59 -05:00
|
|
|
NEED_VERSION= 1.342
|
1999-10-30 16:35:34 -04:00
|
|
|
MASTER_SITES= http://cm.bell-labs.com/cm/cs/who/bwk/
|
1998-09-16 15:35:08 -04:00
|
|
|
EXTRACT_SUFX= .sh
|
|
|
|
|
2000-10-05 12:10:24 -04:00
|
|
|
MAINTAINER= Ian Darwin <ian@openbsd.org>
|
1998-09-16 15:35:08 -04:00
|
|
|
|
2000-04-08 18:18:00 -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
|
|
|
|
1999-10-30 16:35:34 -04:00
|
|
|
ALL_TARGET= hoc
|
2000-02-22 12:08:31 -05:00
|
|
|
MAKE_FILE= makefile
|
1998-09-16 15:35:08 -04:00
|
|
|
|
2000-04-09 20:40:28 -04:00
|
|
|
# Bug-fix for gcc 2.95.2
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC} && make code.o CFLAGS=-O0
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
1999-10-27 12:53:35 -04:00
|
|
|
|
1998-09-16 15:35:08 -04:00
|
|
|
do-install:
|
1999-10-30 16:35:34 -04:00
|
|
|
${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>
|