aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/gzrecover/Makefile
blob: c94ce75763a0bb48c8ebcf8726d32d00794bd4e9 (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
# New ports collection makefile for:    gzrecover
# Date created:             3 June 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   gzrecover
PORTVERSION=    0.5
CATEGORIES= archivers
MASTER_SITES=   http://www.urbanophile.com/arenn/hacking/gzrt/ \
        http://critical.ch/distfiles/ \
        http://energy.critical.ch/distfiles/
DISTNAME=   gzrt-${PORTVERSION}

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A gzip recovery toolkit

CFLAGS+=    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lz

PLIST_FILES=    bin/${PORTNAME}
PORTDOCS=   README

do-build:
    ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>