2006-06-18 09:04:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.64 2006/06/18 07:04:16 rillig Exp $
|
1997-10-27 03:18:56 +01:00
|
|
|
|
2005-02-28 17:50:24 +01:00
|
|
|
DISTNAME= unzip552
|
|
|
|
PKGNAME= unzip-5.52
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 3
|
1997-10-27 03:18:56 +01:00
|
|
|
CATEGORIES= archivers
|
Update unzip to 5.51, based on patch provided by Bruce J.A. Nourish in
PR pkg/25768.
New features:
5.51a (09 Mar 02):
- no new features
5.51b (11 Jan 03):
- TANDEM: new -r option to suppress extension merging [Dave Smith]
- WinCE, new port in addition to pUnZip (GUI): command line tool usable for
"batch" processes (not quite finished, needs "makefile" cleanup, tests,
and refinements) [Simon Roberts, SPC]
- SET_DIR_ATTRIB feature code revised and reorganized to allow seamless
adaption to different OS environments; added support for restoring
directory timestamps to the WIN32 port [Kai-Uwe-Rommel, SPC]
5.51c (13 May 03):
- WinCE command line tool integration is (almost) finished: project file is
cleaned up and works with VC-embedded 3.0; port needs testing... [SPC]
5.51d (27 Feb 04):
- Cygwin is recognized as a target in the Unix port
[Charles Wilson, Cosmin Truta, SPC]
- remove support for quoting characters from all ports; this feature was a
security hole [SPC]
5.51e (01 Mar 04):
- Win32 port (list.c, unzpriv.h, win32.c, w32cfg.h): the date in (non-ZipInfo)
listings is displayed using the separator given by the system's locale,
when available [Cosmin Truta]
See History.551 in distfile for complete bug fix history.
2004-06-01 06:31:40 +02:00
|
|
|
MASTER_SITES= ftp://ftp.info-zip.org/pub/infozip/src/
|
2003-08-20 14:23:49 +02:00
|
|
|
|
2006-06-15 15:34:27 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2001-02-20 23:43:08 +01:00
|
|
|
HOMEPAGE= http://www.info-zip.org/pub/infozip/UnZip.html
|
2001-02-16 14:15:24 +01:00
|
|
|
COMMENT= List, test and extract compressed files in a ZIP archive
|
1997-10-27 03:18:56 +01:00
|
|
|
|
2004-01-05 12:42:20 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2005-10-09 11:48:22 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV} # Remove on next update.
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2001-06-21 23:08:49 +02:00
|
|
|
|
2002-11-25 23:17:16 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
1998-06-21 01:26:05 +02:00
|
|
|
MAKEFILE= unix/Makefile
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= generic_zlib unzipsfx
|
2002-12-25 19:30:24 +01:00
|
|
|
.if ${OPSYS:M*BSD} != "" || ${OPSYS} == "Darwin"
|
2005-10-23 22:52:08 +02:00
|
|
|
CFLAGS+= -DBSD
|
2002-11-25 23:17:16 +01:00
|
|
|
.endif
|
2005-10-23 22:52:08 +02:00
|
|
|
CFLAGS+= -I. -DUNIX -Dunix -DUSE_UNSHRINK
|
2006-06-18 09:04:15 +02:00
|
|
|
MAKE_FLAGS+= CF=${CPPFLAGS:M*:Q}\ ${CFLAGS:M*:Q}
|
|
|
|
MAKE_FLAGS+= LF2=${_STRIPFLAG_CC:Q}\ ${LDFLAGS:M*:Q}\ -lz
|
1998-06-21 01:26:05 +02:00
|
|
|
|
2005-12-27 21:40:10 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc
|
2004-01-05 12:42:20 +01:00
|
|
|
|
2005-10-15 22:24:53 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
1997-10-27 03:18:56 +01:00
|
|
|
do-install:
|
2000-04-20 05:13:55 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} unzip funzip unzipsfx ${PREFIX}/bin
|
1998-10-21 11:21:04 +02:00
|
|
|
${LN} -sf unzip ${PREFIX}/bin/zipinfo
|
2000-04-20 05:13:55 +02:00
|
|
|
cd ${WRKSRC}/unix && ${INSTALL_SCRIPT} zipgrep ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}/man && ${INSTALL_MAN} funzip.1 unzip.1 unzipsfx.1 \
|
2005-12-27 21:40:10 +01:00
|
|
|
zipgrep.1 zipinfo.1 ${PREFIX}/${PKGMANDIR}/man1
|
2003-05-17 08:23:44 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unzip
|
2004-01-05 12:42:20 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} BUGS LICENSE README WHERE \
|
2000-04-20 05:13:55 +02:00
|
|
|
${PREFIX}/share/doc/unzip
|
2004-01-05 12:42:20 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} COPYING.OLD \
|
|
|
|
${PREFIX}/share/doc/unzip/COPYING
|
1997-10-27 03:18:56 +01:00
|
|
|
|
2004-01-05 12:42:20 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
1998-04-15 12:38:06 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|