freebsd-ports/archivers/gzrecover/Makefile
2005-11-14 13:25:40 +00:00

34 lines
761 B
Makefile

# New ports collection makefile for: gzrecover
# Date created: 3 June 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= gzrecover
PORTVERSION= 0.4
CATEGORIES= archivers
MASTER_SITES= http://www.urbanophile.com/arenn/hacking/gzrt/
DISTNAME= gzrt-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A gzip recovery toolkit
CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PLIST_FILES= bin/${PORTNAME}
.if !defined(NOPORTDOCS)
PORTDOCS= README
.endif
do-build:
${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -lz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>