blob: dccbd4df431c7343015381cfe8ee7e03795fccb5 (
plain)
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
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= gzrecover
PORTVERSION= 0.7
CATEGORIES= archivers
MASTER_SITES= http://www.urbanophile.com/arenn/hacking/gzrt/ \
CRITICAL
DISTNAME= gzrt-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= GZIP recovery toolkit
LICENSE= GPLv2
CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lz
NO_STAGE= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-build:
${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|