diff options
author | asami <asami@FreeBSD.org> | 1999-02-03 11:12:01 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-02-03 11:12:01 +0000 |
commit | aa52cd921c82a10ec33065084fe0edb5cf8bebbc (patch) | |
tree | b70284a297d2e3c06462e3a3a86166c4371477f9 /print | |
parent | dd1603cad7e60d10dd91a2f1f918e24ed859ed24 (diff) | |
download | FreeBSD-ports-aa52cd921c82a10ec33065084fe0edb5cf8bebbc.zip FreeBSD-ports-aa52cd921c82a10ec33065084fe0edb5cf8bebbc.tar.gz |
Adjust port Makefiles to new EXTRACT_* variable defaults. See log of
bsd.port.mk rev. 1.304 for details on the change.
The fix here is one of the following.
(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
EXTRACT_* commands.
(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
calling the "tar" command (i.e., arguments like "-xzf" are spelled
out).
(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
add ${EXTRACT_AFTER_ARGS} to the command line as well.
(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
is set, define the other two too.
Diffstat (limited to 'print')
-rw-r--r-- | print/detex/Makefile | 6 | ||||
-rw-r--r-- | print/ghostscript5/Makefile | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/print/detex/Makefile b/print/detex/Makefile index 12649f7..911c3f0 100644 --- a/print/detex/Makefile +++ b/print/detex/Makefile @@ -4,7 +4,7 @@ # Date created: Mon Feb 17, 1997 # Whom: David O'Brien (obrien@NUXI.com) # -# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $ +# $Id: Makefile,v 1.1.1.1 1997/03/25 10:53:08 obrien Exp $ # DISTNAME= detex-2.6 @@ -14,7 +14,9 @@ EXTRACT_SUFX= .tar MAINTAINER= obrien@FreeBSD.org -EXTRACT_BEFORE_ARGS= -C ${WRKDIR} -xf +EXTRACT_CMD= ${TAR} +EXTRACT_BEFORE_ARGS= -xf +EXTRACT_AFTER_ARGS= # empty NO_WRKSUBDIR= yes MAN1= detex.1 diff --git a/print/ghostscript5/Makefile b/print/ghostscript5/Makefile index bb73205..8337c2c 100644 --- a/print/ghostscript5/Makefile +++ b/print/ghostscript5/Makefile @@ -3,7 +3,7 @@ # Date created: 11 December 1998 # Whom: giffunip # -# $Id: Makefile,v 1.30 1999/01/23 07:05:21 vanilla Exp $ +# $Id: Makefile,v 1.31 1999/01/27 07:41:25 fenner Exp $ # DISTNAME= ghostscript-5.10 @@ -42,7 +42,7 @@ post-extract: ${LN} -s ${WRKDIRPREFIX}${PORTSDIR}/graphics/jpeg/work/jpeg-6b ${WRKSRC}/jpeg ${LN} -s ${WRKDIRPREFIX}${PORTSDIR}/graphics/png/work/libpng-1.0.3 ${WRKSRC}/libpng # additional PCL3 driver - $(EXTRACT_CMD) -xvf ${WRKDIR}/hpdj-2.5/hpdj.tar -C $(WRKSRC) + $(TAR) -xvf ${WRKDIR}/hpdj-2.5/hpdj.tar -C $(WRKSRC) ${PATCH} --directory=${WRKSRC} <${WRKSRC}/devs.mak-5.10.diff ${PATCH} --directory=${WRKSRC} <${WRKSRC}/zmedia2.c-5.10.diff |