2004-03-11 19:03:49 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2004/03/11 18:03:50 xtraeme Exp $
|
2003-05-28 22:37:08 +02:00
|
|
|
#
|
1999-09-18 16:25:49 +02:00
|
|
|
|
|
|
|
DISTNAME= gzip-1.2.4a
|
2003-05-28 22:37:08 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/gzip-/gzip-base-/}
|
|
|
|
PKGREVISION= 1
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= gzipb
|
1999-09-18 16:25:49 +02:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gzip/}
|
|
|
|
EXTRACT_SUFX= .shar
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
1999-09-18 16:25:49 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/gzip/gzip.html
|
2001-02-16 14:15:24 +01:00
|
|
|
COMMENT= Compress or expand files
|
1999-09-18 16:25:49 +02:00
|
|
|
|
2004-03-11 19:03:49 +01:00
|
|
|
USE_BUILDLINK3= YES
|
2003-05-28 22:37:08 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
1999-09-18 16:25:49 +02:00
|
|
|
BUILD_TARGET= all manlinks=so
|
|
|
|
INSTALL_TARGET= install manlinks=so
|
|
|
|
|
2000-10-24 21:18:27 +02:00
|
|
|
do-patch:
|
|
|
|
f=${WRKSRC}/Makefile.in ; \
|
|
|
|
[ -f $$f.orig ] || ${CP} $$f $$f.orig ; \
|
|
|
|
${SED} \
|
2003-05-28 22:37:08 +02:00
|
|
|
'/scriptdir/s/INSTALL_PROGRAM/BSD_INSTALL_SCRIPT/' \
|
2000-10-24 21:18:27 +02:00
|
|
|
< $$f.orig >$$f
|
|
|
|
|
2003-05-28 22:37:08 +02:00
|
|
|
# We avoid using a patch for disabling the install of the info
|
|
|
|
# file. The easy part is that "install-info" is not called so
|
|
|
|
# we can simply remove the single installed info file.
|
|
|
|
|
1999-09-18 16:25:49 +02:00
|
|
|
post-install:
|
|
|
|
-${RM} -f ${PREFIX}/info/gzip.info
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|