- remove ugly kludge that was used to extract the distfile, which is not
needed anymore due to the previous commit - cleanup Makefile
This commit is contained in:
parent
f44a627526
commit
044854e1e1
@ -1,32 +1,26 @@
|
||||
# Ports collection makefile for "hoc", the High Order Calculator
|
||||
# $OpenBSD: Makefile,v 1.4 1999/10/30 11:23:44 turan Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 1999/10/30 20:35:34 brad Exp $
|
||||
|
||||
PKGNAME= hoc-1.1
|
||||
DISTNAME= hoc
|
||||
NO_SUBDIR = YES
|
||||
PKGNAME= hoc-1.1
|
||||
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=
|
||||
EXTRACT_AFTER_ARGS=
|
||||
|
||||
MAKEFILE = makefile
|
||||
ALL_TARGET = hoc
|
||||
EXTRACT_CMD= ${SH}
|
||||
EXTRACT_BEFORE_ARGS= # empty
|
||||
EXTRACT_AFTER_ARGS= # empty
|
||||
|
||||
MAINTAINER= ian@openbsd.org
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
MAN1= hoc.1
|
||||
ALL_TARGET= hoc
|
||||
MAKEFILE= makefile
|
||||
|
||||
# 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}
|
||||
NO_SUBDIR= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hoc ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/hoc.1 ${PREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hoc ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/hoc.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user