Provide do-extract to work around bsd.ports.mk.

This commit is contained in:
ian 1999-10-27 16:53:35 +00:00
parent 719753df9a
commit 33da02251d

View File

@ -1,20 +1,14 @@
# New ports collection makefile for: hoc
# Version required: 1.1
# Date created: Tue Sep 15 17:48:34 EDT 1998
# Whom: Ian Darwin
#
# $OpenBSD: Makefile,v 1.2 1998/09/16 19:43:02 ian Exp $
#
# Ports collection makefile for "hoc", the High Order Calculator
# $OpenBSD: Makefile,v 1.3 1999/10/27 16:53:35 ian Exp $
PKGNAME= hoc-1.1
DISTNAME= hoc
NO_SUBDIR = YES
CATEGORIES= math
MASTER_SITES= http://cm.bell-labs.com/cm/cs/who/bwk/
MASTER_SITES = http://cm.bell-labs.com/cm/cs/who/bwk/
EXTRACT_SUFX= .sh
EXTRACT_CMD= /bin/sh
EXTRACT_BEFORE_ARGS =
MAKEFILE = makefile
ALL_TARGET = hoc
@ -24,6 +18,11 @@ MAINTAINER= ian@openbsd.org
NO_WRKSUBDIR= yes
MAN1= hoc.1
# This is because we don't use tar+gzip; is there an easier way?
do-extract:
@mkdir ${WRKDIR}
@cd ${WRKDIR}; ${EXTRACT_CMD} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hoc ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hoc.1 ${PREFIX}/man/man1