aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/gzip/Makefile
blob: 6d55317c26d0cd6d840b7e56db47ae6ba2aa3eaf (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
# Created by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
# $FreeBSD$

PORTNAME=   gzip
PORTVERSION=    1.6
CATEGORIES= archivers
MASTER_SITES=   GNU

MAINTAINER= johans@FreeBSD.org
COMMENT=    Compression utility designed to be a replacement for compress

USES=       charsetfix
GNU_CONFIGURE=  yes

INFO=   gzip

DOC_FILES=  AUTHORS COPYING ChangeLog ChangeLog-2007 INSTALL NEWS README \
        THANKS TODO

OPTIONS_DEFINE= RSYNCABLE DOCS
OPTIONS_DEFAULT=    RSYNCABLE
RSYNCABLE_DESC= Include --rsyncable patch

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MRSYNCABLE}
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-gzip-rsyncable.diff
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>