1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/archivers/gzrecover/Makefile
2018-08-28 07:55:29 +00:00

32 lines
708 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= gzrecover
PORTVERSION= 0.8
CATEGORIES= archivers
MASTER_SITES= https://www.urbanophile.com/arenn/hacking/gzrt/ \
LOCAL/ehaupt
DISTNAME= gzrt-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= GZIP recovery toolkit
LICENSE= GPLv2
CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lz
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR}
.include <bsd.port.mk>