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