aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/gzip/Makefile
blob: 44dcf9a1e7a2ceca6be452c32e305d3a1edd0849 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    gzip
# Date created:             27 July 2002
# Whom:                 cyrille.lefevre@laposte.net
#
# $FreeBSD$
#

PORTNAME=   gzip
PORTVERSION=    1.3.5
PORTREVISION=   1
CATEGORIES= archivers
MASTER_SITES=   ftp://sunfreeware.risq.qc.ca/SOURCES/ \
        ftp://sunsite.cnlab-switch.ch/mirror/solaris-freeware/SOURCES/ \
        ftp://ftp.ibiblio.org/pub/packages/solaris/freeware/SOURCES/ \
        ftp://sunsite.belnet.be/mirror/ftp.sunfreeware.com/pub/freeware/SOURCES/ \
        ftp://planetmirror.com/pub/sunfreeware/SOURCES/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= cyrille.lefevre@laposte.net
COMMENT=    A compression utility designed to be a replacement for compress

USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}

MAN1=   gunzip.1 gzexe.1 gzip.1 zcat.1 zcmp.1 zdiff.1 zforce.1 \
    zgrep.1 zless.1 zmore.1 znew.1
INFO=   gzip

DOC_FILES=  AUTHORS COPYING INSTALL NEWS README README-alpha \
        THANKS TODO

post-configure:
    @${REINPLACE_CMD} -e 's|^SHELL =.*|SHELL=/bin/sh|' ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>