fix the extraction so that WRKDIR is created before touching the cookie.

This is an interim fix and is waiting a pending approval to a
bsd.port.mk modification.
This commit is contained in:
turan 1999-10-31 06:27:48 +00:00
parent b403be3eaf
commit 77b26a9d75

View File

@ -2,7 +2,7 @@
# Date created: May 17 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.3 1999/09/22 10:44:21 espie Exp $
# $OpenBSD: Makefile,v 1.4 1999/10/31 06:27:48 turan Exp $
#
NEED_VERSION= 1.116
@ -18,7 +18,9 @@ MAINTAINER= angelos@openbsd.org
MANUAL_PACKAGE_BUILD= RESOLUTION has to be set to 118 240 300 360 400 600
DIST_SUBDIR= pkfonts
EXTRACT_CMD= /usr/bin/true # extracted directly in install target
# NO_EXTRACT is waiting for a bsd.port.mk fix to be approved.
# For the interim, redefine do-extract.
#NO_EXTRACT= extracted in install target
NO_BUILD= yes
.if !defined(RESOLUTION)
@ -46,6 +48,9 @@ pre-fetch:
.endif
.endif
do-extract:
${MKDIR} ${WRKDIR}
do-install:
${MKDIR} ${PREFIX}/lib/fonts
tar -C ${PREFIX}/lib/fonts -xzf ${FULLDISTDIR}/${DISTFILES}