mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
5114e2637e
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.
36 lines
796 B
Makefile
36 lines
796 B
Makefile
# New ports collection makefile for: jzip
|
|
# Version required: 2.0.1g
|
|
# Date created: 7 May 1998
|
|
# Whom: Matthew Hunt <mph@FreeBSD.org>
|
|
#
|
|
# $Id: Makefile,v 1.3 1998/07/05 04:15:04 mph Exp $
|
|
#
|
|
|
|
DISTNAME= jzip201g
|
|
PKGNAME= jzip-2.0.1g
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.freebsd.org/~mph/distfiles/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= mph@freebsd.org
|
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
EXTRACT_CMD= unzip
|
|
EXTRACT_BEFORE_ARGS= -qq
|
|
EXTRACT_AFTER_ARGS= # empty
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
MAN1= jzip.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/jzip ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/jzip.1 ${PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/jzip
|
|
${INSTALL_DATA} ${WRKSRC}/Jzip.doc ${PREFIX}/share/doc/jzip
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|