pkgsrc/archivers/gzip-base/Makefile
veego 63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00

38 lines
979 B
Makefile

# $NetBSD: Makefile,v 1.8 2001/10/18 15:20:01 veego Exp $
DISTNAME= gzip-1.2.4a
PKGNAME= gzip-base-1.2.4a
SVR4_PKGNAME= gzipb
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=gzip/}
EXTRACT_SUFX= .shar
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gzip/gzip.html
COMMENT= Compress or expand files
EXTRACT_CMD= ${SH} ${DOWNLOADED_DISTFILE}
GNU_CONFIGURE= yes
BUILD_TARGET= all manlinks=so
INSTALL_TARGET= install manlinks=so
.if exists(/usr/bin/gzip)
IGNORE= "${PKGNAME} is part of your ${OPSYS} distribution"
.endif
# We avoid using a patch for disabling the install of the info
# file. The easu part is that "install-info" is not called so
# we can simply remove the single installed info file.
do-patch:
f=${WRKSRC}/Makefile.in ; \
[ -f $$f.orig ] || ${CP} $$f $$f.orig ; \
${SED} \
'/scriptdir/s/INSTALL_PROGRAM/INSTALL_DATA/' \
< $$f.orig >$$f
post-install:
-${RM} -f ${PREFIX}/info/gzip.info
.include "../../mk/bsd.pkg.mk"