46b5f232b5
FAKE=Yes HAS_CONFIGURE, GNU_CONFIGURE, USE_IMAKE, NO_INSTALL_MANPAGES, USE_AUTOCONF and bump NEED_VERSION accordingly.
39 lines
797 B
Makefile
39 lines
797 B
Makefile
# Ports collection makefile for "hoc", the High Order Calculator
|
|
# $OpenBSD: Makefile,v 1.14 2000/10/22 15:42:36 espie Exp $
|
|
|
|
DISTNAME= hoc
|
|
PKGNAME= hoc-1.1
|
|
CATEGORIES= math
|
|
NEED_VERSION= 1.210
|
|
MASTER_SITES= http://cm.bell-labs.com/cm/cs/who/bwk/
|
|
EXTRACT_SUFX= .sh
|
|
|
|
EXTRACT_CMD= ${SH}
|
|
EXTRACT_BEFORE_ARGS= # empty
|
|
EXTRACT_AFTER_ARGS= # empty
|
|
|
|
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>
|